SWDEV-253557 Strip debug symbols for release builds
Change-Id: I50032cb6aae7b1ed1a95c8e84fa8ce5cce476570
Este commit está contenido en:
cometido por
Reshabh kumar Sharma
padre
bad12583b0
commit
4c15a8f190
@@ -74,4 +74,9 @@ set(amdocl64_src
|
||||
|
||||
add_library(amdocl64 SHARED ${amdocl64_src})
|
||||
|
||||
# strip lib for release builds
|
||||
if(CMAKE_BUILD_TYPE STREQUAL "Release")
|
||||
add_custom_command(TARGET amdocl64 POST_BUILD COMMAND ${CMAKE_STRIP} $<TARGET_FILE_NAME:amdocl64>)
|
||||
endif()
|
||||
|
||||
target_link_libraries(amdocl64 amdrocclr_static Threads::Threads dl ${ADDITIONAL_LIBRARIES})
|
||||
|
||||
Referencia en una nueva incidencia
Block a user