summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorZsolt Parragi <zsolt.parragi@cancellar.hu>2019-02-22 18:22:28 (GMT)
committerBrad King <brad.king@kitware.com>2019-02-27 13:31:46 (GMT)
commitfa339ced67d14bb608b2a71c37c3b99d90941d47 (patch)
treecac3f6ba5c116b08217697240ff6d1a68d6925ec /Source
parenteb08e68b77954a4b439ee66b4987789b213d878a (diff)
downloadCMake-fa339ced67d14bb608b2a71c37c3b99d90941d47.zip
CMake-fa339ced67d14bb608b2a71c37c3b99d90941d47.tar.gz
CMake-fa339ced67d14bb608b2a71c37c3b99d90941d47.tar.bz2
CMakeVersion.rc: Avoid preprocessor definitions to support llvm-rc
`llvm-rc` does not support them as of version 8.
Diffstat (limited to 'Source')
-rw-r--r--Source/CMakeVersion.rc.in19
1 files changed, 5 insertions, 14 deletions
diff --git a/Source/CMakeVersion.rc.in b/Source/CMakeVersion.rc.in
index 22b4a36..762d9bb 100644
--- a/Source/CMakeVersion.rc.in
+++ b/Source/CMakeVersion.rc.in
@@ -1,25 +1,16 @@
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
file Copyright.txt or https://cmake.org/licensing for details. */
-#define VER_FILEVERSION @CMake_RCVERSION@
-#define VER_FILEVERSION_STR "@CMake_RCVERSION_STR@\0"
-
-#define VER_PRODUCTVERSION @CMake_RCVERSION@
-#define VER_PRODUCTVERSION_STR "@CMake_RCVERSION_STR@\0"
-
-/* Version-information resource identifier. */
-#define VS_VERSION_INFO 1
-
-VS_VERSION_INFO VERSIONINFO
-FILEVERSION VER_FILEVERSION
-PRODUCTVERSION VER_PRODUCTVERSION
+1 VERSIONINFO
+FILEVERSION @CMake_RCVERSION@
+PRODUCTVERSION @CMake_RCVERSION@
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904E4"
BEGIN
- VALUE "FileVersion", VER_FILEVERSION_STR
- VALUE "ProductVersion", VER_PRODUCTVERSION_STR
+ VALUE "FileVersion", "@CMake_RCVERSION_STR@\0"
+ VALUE "ProductVersion", "@CMake_RCVERSION_STR@\0"
END
END