TheAssassin 3c6096433d Detect dynamically linked and debug symbols only ELF files
TODO: extract ELF stuff into new small C++ wrapper library that can be used in various places (e.g., AppImageLauncher, the AppImage runtime, ...)
2021-05-29 01:19:42 +02:00

7 lines
356 B
CMake

add_executable(simple_executable simple_executable.cpp)
target_link_libraries(simple_executable simple_library pthread)
add_executable(simple_executable_static simple_executable.cpp)
target_link_libraries(simple_executable_static simple_library_static pthread)
target_link_options(simple_executable_static PUBLIC -static -static-libgcc -static-libstdc++)