From 67068c9cd91e11800d9a06b386705100a2050da0 Mon Sep 17 00:00:00 2001 From: Aki Date: Sun, 18 Feb 2024 01:58:05 +0100 Subject: All files containing version are now updated more consistently --- Starshatter/CMakeLists.txt | 4 +--- Starshatter/Starshatter.rc.conf | 4 ++-- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'Starshatter') 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 -- cgit v1.1