We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 839d9e9 commit 0e7e25fCopy full SHA for 0e7e25f
1 file changed
CMakeLists.txt
@@ -114,15 +114,6 @@ endif()
114
set_property(TARGET ${PROJECT_NAME} PROPERTY VS_DPI_AWARE "PerMonitor")
115
set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT "${PROJECT_NAME}")
116
117
- # Strip binary for release builds
118
- if (CMAKE_BUILD_TYPE STREQUAL Release)
119
- if(LINUX)
120
- add_custom_command(TARGET ${PROJECT_NAME} POST_BUILD COMMAND ${CMAKE_STRIP} ${CMAKE_BUILD_TYPE}/${PROJECT_NAME})
121
- elseif(APPLE)
122
- add_custom_command(TARGET ${PROJECT_NAME} POST_BUILD COMMAND ${CMAKE_STRIP} ${CMAKE_BUILD_TYPE}/${PROJECT_NAME}.app/Contents/MacOS/${PROJECT_NAME})
123
- endif()
124
-endif ()
125
-
126
macro(enable_unity targets)
127
foreach(target ${targets})
128
set_target_properties("${target}" PROPERTIES UNITY_BUILD ON)
0 commit comments