mirror of
https://github.com/FWGS/hlsdk-xash3d
synced 2024-11-22 01:47:45 +01:00
cmake: strip release builds.
This commit is contained in:
parent
554dc51472
commit
38950e4e41
@ -228,3 +228,7 @@ install( TARGETS ${CLDLL_LIBRARY}
|
||||
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE
|
||||
GROUP_READ GROUP_EXECUTE
|
||||
WORLD_READ WORLD_EXECUTE )
|
||||
|
||||
add_custom_command(TARGET ${CLDLL_LIBRARY}
|
||||
POST_BUILD DEPENDS ${CLDLL_LIBRARY}
|
||||
COMMAND $<$<CONFIG:release>:${CMAKE_STRIP}> -s $<TARGET_FILE:${CLDLL_LIBRARY}>)
|
||||
|
@ -194,3 +194,7 @@ install( TARGETS ${SVDLL_LIBRARY}
|
||||
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE
|
||||
GROUP_READ GROUP_EXECUTE
|
||||
WORLD_READ WORLD_EXECUTE)
|
||||
|
||||
add_custom_command(TARGET ${SVDLL_LIBRARY}
|
||||
POST_BUILD DEPENDS ${SVDLL_LIBRARY}
|
||||
COMMAND $<$<CONFIG:release>:${CMAKE_STRIP}> -s $<TARGET_FILE:${SVDLL_LIBRARY}>)
|
||||
|
Loading…
Reference in New Issue
Block a user