mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Strip the binary with AppImage build
This commit is contained in:
parent
0421599fa4
commit
ab249f424b
@ -33,6 +33,11 @@ if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
|
||||
set (CMAKE_EXE_LINKER_FLAGS "-static-libgcc -static-libstdc++")
|
||||
endif ()
|
||||
|
||||
if (USE_APPIMAGE AND ${CMAKE_BUILD_TYPE} STREQUAL "Release")
|
||||
set (CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -s")
|
||||
set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -s")
|
||||
endif ()
|
||||
|
||||
add_executable (planetblupi ${sources})
|
||||
|
||||
file (COPY resources/data DESTINATION share/planetblupi)
|
||||
|
Loading…
x
Reference in New Issue
Block a user