CMakeLists: improve formatting.
This commit is contained in:
parent
5c6a83c03b
commit
42cec59c71
1 changed files with 85 additions and 79 deletions
|
@ -101,12 +101,14 @@ add_library(UESaveFile STATIC EXCLUDE_FROM_ALL
|
||||||
UESaveFile/BinaryWriter.h
|
UESaveFile/BinaryWriter.h
|
||||||
UESaveFile/BinaryWriter.cpp
|
UESaveFile/BinaryWriter.cpp
|
||||||
UESaveFile/PropertySerialiser.h
|
UESaveFile/PropertySerialiser.h
|
||||||
UESaveFile/PropertySerialiser.cpp)
|
UESaveFile/PropertySerialiser.cpp
|
||||||
|
)
|
||||||
|
|
||||||
target_link_libraries(UESaveFile PRIVATE
|
target_link_libraries(UESaveFile PRIVATE
|
||||||
Corrade::Containers
|
Corrade::Containers
|
||||||
Corrade::Utility
|
Corrade::Utility
|
||||||
Magnum::Magnum)
|
Magnum::Magnum
|
||||||
|
)
|
||||||
|
|
||||||
add_executable(MassBuilderSaveTool WIN32
|
add_executable(MassBuilderSaveTool WIN32
|
||||||
main.cpp
|
main.cpp
|
||||||
|
@ -164,14 +166,17 @@ add_executable(MassBuilderSaveTool WIN32
|
||||||
FontAwesome/IconsFontAwesome5.h
|
FontAwesome/IconsFontAwesome5.h
|
||||||
FontAwesome/IconsFontAwesome5Brands.h
|
FontAwesome/IconsFontAwesome5Brands.h
|
||||||
resource.rc
|
resource.rc
|
||||||
${Assets})
|
${Assets}
|
||||||
|
)
|
||||||
|
|
||||||
if(CMAKE_BUILD_TYPE STREQUAL Debug)
|
if(CMAKE_BUILD_TYPE STREQUAL Debug)
|
||||||
add_compile_definitions(SAVETOOL_DEBUG_BUILD)
|
add_compile_definitions(SAVETOOL_DEBUG_BUILD)
|
||||||
endif()
|
endif()
|
||||||
add_compile_definitions(SAVETOOL_VERSION="${SAVETOOL_PROJECT_VERSION}"
|
add_compile_definitions(
|
||||||
SAVETOOL_CODENAME="Dickish Cyclops"
|
SAVETOOL_VERSION="${SAVETOOL_PROJECT_VERSION}"
|
||||||
SUPPORTED_GAME_VERSION="0.8.6")
|
SAVETOOL_CODENAME="Enigmatic Ellenier"
|
||||||
|
SUPPORTED_GAME_VERSION="0.9.x"
|
||||||
|
)
|
||||||
|
|
||||||
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})
|
||||||
|
@ -196,4 +201,5 @@ target_link_libraries(MassBuilderSaveTool PRIVATE
|
||||||
zip
|
zip
|
||||||
libcurl
|
libcurl
|
||||||
imm32
|
imm32
|
||||||
wtsapi32)
|
wtsapi32
|
||||||
|
)
|
||||||
|
|
Loading…
Reference in a new issue