mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-14 19:15:05 -05:00
Strip debug symbols on release for android
This commit is contained in:
parent
9558afa8a9
commit
f8c5e9748b
1 changed files with 11 additions and 0 deletions
|
@ -208,6 +208,17 @@ function(setup_geode_mod proname)
|
|||
set_target_properties(${proname} PROPERTIES PREFIX "")
|
||||
set_target_properties(${proname} PROPERTIES OUTPUT_NAME ${MOD_ID})
|
||||
|
||||
if (ANDROID)
|
||||
if (CMAKE_BUILD_TYPE STREQUAL "Release")
|
||||
add_custom_command(
|
||||
TARGET "${PROJECT_NAME}" POST_BUILD
|
||||
DEPENDS "${PROJECT_NAME}"
|
||||
COMMAND $<$<CONFIG:release>:${CMAKE_STRIP}>
|
||||
ARGS -S $<TARGET_FILE:${PROJECT_NAME}>
|
||||
)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
endfunction()
|
||||
|
||||
function(create_geode_file proname)
|
||||
|
|
Loading…
Reference in a new issue