Remove stripping of debug binaries.
This commit is contained in:
+6
-4
@@ -273,10 +273,12 @@ project (Jerry CXX C ASM)
|
|||||||
DEPENDS ${TARGET_NAME}.bin)
|
DEPENDS ${TARGET_NAME}.bin)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(${STRIP_RELEASE_BINARY} STREQUAL "ON")
|
if("${BUILD_MODE}" STREQUAL "RELEASE")
|
||||||
add_custom_command(TARGET ${TARGET_NAME}
|
if(${STRIP_RELEASE_BINARY} STREQUAL "ON")
|
||||||
POST_BUILD
|
add_custom_command(TARGET ${TARGET_NAME}
|
||||||
COMMAND ${CMAKE_STRIP} $<TARGET_FILE:${TARGET_NAME}>)
|
POST_BUILD
|
||||||
|
COMMAND ${CMAKE_STRIP} $<TARGET_FILE:${TARGET_NAME}>)
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user