diff options
author | Aki <please@ignore.pl> | 2022-10-15 17:31:39 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-10-15 17:32:28 +0200 |
commit | 081f071ac11ab6ebaee1f7a2367fa1f9ecad784a (patch) | |
tree | 8dcd6c24028ce4db4bc0e84d76f09f83a0748fe8 /StarsEx | |
parent | 58581f2ac25b68b6dd08b2336514f679af40fb64 (diff) | |
download | starshatter-081f071ac11ab6ebaee1f7a2367fa1f9ecad784a.zip starshatter-081f071ac11ab6ebaee1f7a2367fa1f9ecad784a.tar.gz starshatter-081f071ac11ab6ebaee1f7a2367fa1f9ecad784a.tar.bz2 |
Added version file to build artifacts to support automatic deployment
Diffstat (limited to 'StarsEx')
-rw-r--r-- | StarsEx/CMakeLists.txt | 2 | ||||
-rw-r--r-- | StarsEx/VersionInfo.cpp.conf | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/StarsEx/CMakeLists.txt b/StarsEx/CMakeLists.txt index 91e82d8..5083039 100644 --- a/StarsEx/CMakeLists.txt +++ b/StarsEx/CMakeLists.txt @@ -1,5 +1,4 @@ project(StarsEx) -include(GitDescribe) add_library( StarsEx STATIC ActiveWindow.cpp @@ -291,7 +290,6 @@ target_compile_definitions( StarsEx PRIVATE _ALLOW_KEYWORD_MACROS ) -git_describe(VERSION) configure_file(VersionInfo.cpp.conf ${CMAKE_CURRENT_BINARY_DIR}/VersionInfo.cpp @ONLY) target_sources( StarsEx diff --git a/StarsEx/VersionInfo.cpp.conf b/StarsEx/VersionInfo.cpp.conf index adaad2c..345135c 100644 --- a/StarsEx/VersionInfo.cpp.conf +++ b/StarsEx/VersionInfo.cpp.conf @@ -6,4 +6,4 @@ #include "VersionInfo.h" -const char* versionInfo = "@VERSION@"; +const char* versionInfo = "@STARSHATTER_VERSION@"; |