1
0
mirror of https://github.com/ScrelliCopter/tmx2gba.git synced 2025-02-21 03:29:25 +11:00

get version info from project file

This commit is contained in:
2024-03-25 15:36:07 +11:00
parent 59e36125f5
commit 73b5d44b46
4 changed files with 16 additions and 4 deletions

View File

@@ -6,6 +6,10 @@ add_executable(tmx2gba
swriter.hpp swriter.cpp
tmx2gba.cpp)
configure_file(config.h.in config.h @ONLY)
target_sources(tmx2gba PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/config.h)
target_include_directories(tmx2gba PRIVATE ${CMAKE_CURRENT_BINARY_DIR})
set_target_properties(tmx2gba PROPERTIES CXX_STANDARD 20)
# Enable strong warnings