summaryrefslogtreecommitdiffhomepage
path: root/Starshatter
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2024-02-18 01:58:05 +0100
committerAki <please@ignore.pl>2024-02-18 02:06:42 +0100
commit67068c9cd91e11800d9a06b386705100a2050da0 (patch)
tree75ff7f7c20430785c012668524173929fe5a69a4 /Starshatter
parent7f5562530f9a1decfae9e4c88b95422c82ed829c (diff)
downloadstarshatter-67068c9cd91e11800d9a06b386705100a2050da0.zip
starshatter-67068c9cd91e11800d9a06b386705100a2050da0.tar.gz
starshatter-67068c9cd91e11800d9a06b386705100a2050da0.tar.bz2
All files containing version are now updated more consistently
Diffstat (limited to 'Starshatter')
-rw-r--r--Starshatter/CMakeLists.txt4
-rw-r--r--Starshatter/Starshatter.rc.conf4
2 files changed, 3 insertions, 5 deletions
diff --git a/Starshatter/CMakeLists.txt b/Starshatter/CMakeLists.txt
index 913685f..e73a639 100644
--- a/Starshatter/CMakeLists.txt
+++ b/Starshatter/CMakeLists.txt
@@ -1,5 +1,4 @@
project(Starshatter)
-include(GitToResource)
add_executable(
Starshatter WIN32
Main.cpp
@@ -12,8 +11,7 @@ target_link_libraries(
Starshatter
PRIVATE StarsEx
)
-git_to_resource(RC_VERSION ${STARSHATTER_VERSION})
-configure_file(Starshatter.rc.conf ${CMAKE_CURRENT_BINARY_DIR}/Starshatter.rc @ONLY)
+add_version_file(Starshatter.rc Starshatter.rc.conf)
target_sources(
Starshatter
PUBLIC ${CMAKE_CURRENT_BINARY_DIR}/Starshatter.rc
diff --git a/Starshatter/Starshatter.rc.conf b/Starshatter/Starshatter.rc.conf
index 123e9de..7febfc6 100644
--- a/Starshatter/Starshatter.rc.conf
+++ b/Starshatter/Starshatter.rc.conf
@@ -5,8 +5,8 @@
Stars ICON DISCARDABLE "Stars.ico"
VS_VERSION_INFO VERSIONINFO
- FILEVERSION @RC_VERSION@
- PRODUCTVERSION @RC_VERSION@
+ FILEVERSION @STARSHATTER_RC_VERSION@
+ PRODUCTVERSION @STARSHATTER_RC_VERSION@
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L