mirror of
https://github.com/audacity/linuxdeploy.git
synced 2025-12-11 19:56:54 -06:00
TODO: extract ELF stuff into new small C++ wrapper library that can be used in various places (e.g., AppImageLauncher, the AppImage runtime, ...)
7 lines
356 B
CMake
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++)
|