Do not strip release builds.
Customer request. Change-Id: Id77dcdc0b6908c7a5e460edfd7d9468a1691e351
This commit is contained in:
@@ -171,9 +171,9 @@ target_link_libraries ( ${CORE_RUNTIME_TARGET}
|
||||
elf dl pthread rt
|
||||
)
|
||||
|
||||
## If the build is Release, strip the target library
|
||||
## Strip should be optional or not at all
|
||||
if ( "${CMAKE_BUILD_TYPE}" STREQUAL Release )
|
||||
add_custom_command ( TARGET ${CORE_RUNTIME_TARGET} POST_BUILD COMMAND ${CMAKE_STRIP} *.so )
|
||||
# add_custom_command ( TARGET ${CORE_RUNTIME_TARGET} POST_BUILD COMMAND ${CMAKE_STRIP} *.so )
|
||||
endif ()
|
||||
|
||||
## Create symlinks for packaging and install
|
||||
|
||||
مرجع در شماره جدید
Block a user