mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Strip in all cases when releasing
This commit is contained in:
parent
ed7f95f3aa
commit
8af9a15048
@ -44,7 +44,7 @@ if ("${CMAKE_BUILD_TYPE}" STREQUAL "Debug")
|
||||
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g3")
|
||||
endif ()
|
||||
|
||||
if (USE_APPIMAGE AND "${CMAKE_BUILD_TYPE}" STREQUAL "Release")
|
||||
if ("${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 ()
|
||||
@ -222,7 +222,7 @@ endif ()
|
||||
#########
|
||||
|
||||
if ("${CMAKE_BUILD_TYPE}" STREQUAL "Release")
|
||||
set (CPACK_STRIP_FILES TRUE)
|
||||
# set (CPACK_STRIP_FILES TRUE)
|
||||
set (CPACK_PACKAGE_NAME ${PB_PACKAGE_NAME})
|
||||
set (CPACK_PACKAGE_VENDOR "blupi.org")
|
||||
set (CPACK_PACKAGE_DESCRIPTION_SUMMARY ${PB_DESCRIPTION})
|
||||
|
Loading…
x
Reference in New Issue
Block a user