mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
Take version number from Cmake file. This way the number is only in one place
This commit is contained in:
+3
-1
@@ -1,6 +1,6 @@
|
||||
cmake_minimum_required(VERSION 3.13)
|
||||
|
||||
project(magicseteditor)
|
||||
project(magicseteditor VERSION 2.0.2)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED True)
|
||||
@@ -32,6 +32,8 @@ list(FILTER sources EXCLUDE REGEX win32_cli_wrapper.cpp)
|
||||
target_sources(magicseteditor PRIVATE ${sources})
|
||||
target_precompile_headers(magicseteditor PRIVATE src/util/prec.hpp)
|
||||
|
||||
configure_file(src/config.hpp.in src/config.hpp)
|
||||
|
||||
# resource file
|
||||
|
||||
target_sources(magicseteditor PRIVATE resource/win32_res.rc)
|
||||
|
||||
Reference in New Issue
Block a user