CMakeLists: change how defines are handled.
This commit is contained in:
parent
267226a386
commit
274d8ce014
1 changed files with 3 additions and 2 deletions
|
@ -188,9 +188,10 @@ add_executable(MassBuilderSaveTool WIN32
|
||||||
)
|
)
|
||||||
|
|
||||||
if(CMAKE_BUILD_TYPE STREQUAL Debug)
|
if(CMAKE_BUILD_TYPE STREQUAL Debug)
|
||||||
add_compile_definitions(SAVETOOL_DEBUG_BUILD)
|
target_compile_definitions(Logger PRIVATE SAVETOOL_DEBUG_BUILD)
|
||||||
|
target_compile_definitions(MassBuilderSaveTool PRIVATE SAVETOOL_DEBUG_BUILD)
|
||||||
endif()
|
endif()
|
||||||
add_compile_definitions(
|
target_compile_definitions(MassBuilderSaveTool PRIVATE
|
||||||
SAVETOOL_VERSION="${SAVETOOL_PROJECT_VERSION}"
|
SAVETOOL_VERSION="${SAVETOOL_PROJECT_VERSION}"
|
||||||
SAVETOOL_CODENAME="Enigmatic Ellenier"
|
SAVETOOL_CODENAME="Enigmatic Ellenier"
|
||||||
SUPPORTED_GAME_VERSION="0.9.x"
|
SUPPORTED_GAME_VERSION="0.9.x"
|
||||||
|
|
Loading…
Reference in a new issue