CMakeLists: re-enable the debug define.
This commit is contained in:
parent
90a67f30d9
commit
c0bf16144f
1 changed files with 4 additions and 0 deletions
|
@ -239,6 +239,10 @@ target_compile_definitions(MassBuilderSaveTool PRIVATE
|
||||||
SAVETOOL_SUPPORTED_GAME_VERSION="0.10.x"
|
SAVETOOL_SUPPORTED_GAME_VERSION="0.10.x"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if(CMAKE_BUILD_TYPE STREQUAL Debug)
|
||||||
|
target_compile_definitions(MassBuilderSaveTool PRIVATE SAVETOOL_DEBUG_BUILD)
|
||||||
|
endif()
|
||||||
|
|
||||||
if(CMAKE_BUILD_TYPE STREQUAL Release)
|
if(CMAKE_BUILD_TYPE STREQUAL Release)
|
||||||
set_target_properties(MassBuilderSaveTool PROPERTIES OUTPUT_NAME MassBuilderSaveTool-${SAVETOOL_PROJECT_VERSION})
|
set_target_properties(MassBuilderSaveTool PROPERTIES OUTPUT_NAME MassBuilderSaveTool-${SAVETOOL_PROJECT_VERSION})
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in a new issue