From 06424270806b3fbcd41ba92f1d3d96e01dbb38f7 Mon Sep 17 00:00:00 2001 From: Davide Beatrici Date: Tue, 27 Nov 2018 03:50:03 +0000 Subject: [PATCH] BuildFiles: edit "ver.rc" so that it uses CMake's variables syntax --- src/BuildFiles/VerScript/ver.rc | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/BuildFiles/VerScript/ver.rc b/src/BuildFiles/VerScript/ver.rc index 34f8aecb..713bb697 100644 --- a/src/BuildFiles/VerScript/ver.rc +++ b/src/BuildFiles/VerScript/ver.rc @@ -1,8 +1,8 @@ #pragma code_page(932) 1 VERSIONINFO - FILEVERSION $VER_MAJOR$,$VER_MINOR$,0,$VER_BUILD$ - PRODUCTVERSION $VER_MAJOR$,$VER_MINOR$,0,$VER_BUILD$ + FILEVERSION ${PROJECT_VERSION_MAJOR},${PROJECT_VERSION_MINOR},0,${PROJECT_VERSION_PATCH} + PRODUCTVERSION ${PROJECT_VERSION_MAJOR},${PROJECT_VERSION_MINOR},0,${PROJECT_VERSION_PATCH} FILEFLAGSMASK 0x17L FILEOS 0x4L FILETYPE 0x1L @@ -12,15 +12,15 @@ BEGIN BEGIN BLOCK "041104b0" BEGIN - VALUE "CompanyName", "SoftEther VPN Project at University of Tsukuba, Japan. (Developer Edition)" - VALUE "FileDescription", "$PRODUCTNAME$ (Developer Edition)" - VALUE "FileVersion", "$VER_MAJOR$, $VER_MINOR$, 0, $VER_BUILD$" - VALUE "InternalName", "$INTERNALNAME$ (Developer Edition)" - VALUE "LegalCopyright", "Copyright (C) 2012-$YEAR$ SoftEther VPN Project. All Rights Reserved. (Developer Edition)" + VALUE "CompanyName", "SoftEther VPN Project at University of Tsukuba, Japan." + VALUE "FileDescription", "${PROJECT_NAME} ${COMPONENT_NAME} (Developer Edition)" + VALUE "FileVersion", "${PROJECT_VERSION_MAJOR}, ${PROJECT_VERSION_MINOR}, 0, ${PROJECT_VERSION_PATCH}" + VALUE "InternalName", "${COMPONENT_INTERNAL_NAME}" + VALUE "LegalCopyright", "Copyright (C) 2012-${DATE_YEAR} SoftEther VPN Project. All Rights Reserved." VALUE "LegalTrademarks", "SoftEther(R) is a registered trademark of SoftEther Corporation in Japan, United Status and People's Republic of China. SoftEther Corporation is a company founded at University of Tsukuba, Japan." - VALUE "OriginalFilename", "$FILENAME$" - VALUE "ProductName", "$PRODUCTNAME$ (Developer Edition)" - VALUE "ProductVersion", "$VER_MAJOR$, $VER_MINOR$, 0, $VER_BUILD$" + VALUE "OriginalFilename", "${COMPONENT_FILE_NAME}" + VALUE "ProductName", "${PROJECT_NAME} ${COMPONENT_NAME}" + VALUE "ProductVersion", "${PROJECT_VERSION_MAJOR}, ${PROJECT_VERSION_MINOR}, 0, ${PROJECT_VERSION_PATCH}" END END BLOCK "VarFileInfo"