Take version number from Cmake file. This way the number is only in one place

This commit is contained in:
Twan van Laarhoven
2020-04-25 23:36:00 +02:00
parent 190d9c8ffa
commit b5f18ebec7
4 changed files with 26 additions and 7 deletions
+5 -4
View File
@@ -5,6 +5,7 @@
//+----------------------------------------------------------------------------+
#include <winresrc.h> // include for version info constants
#include <config.hpp>
// -------------------------------------------------------- : Icons
@@ -192,16 +193,16 @@ message_error IMAGE "message_error.png"
// -------------------------------------------------------- : Version info
1 VERSIONINFO
FILEVERSION 2,0,2,0
PRODUCTVERSION 2,0,2,0
VS_VERSION_INFO VERSIONINFO
FILEVERSION MSE_VERSION_RESOURCE
PRODUCTVERSION MSE_VERSION_RESOURCE
FILETYPE VFT_APP
{
BLOCK "StringFileInfo"
{
BLOCK "040904E4"
{
VALUE "FileVersion", "2.0.2"
VALUE "FileVersion", MSE_VERSION_STRING
VALUE "License", "GNU General Public License 2 or later; This is free software, and you are welcome to redistribute it under certain conditions; See the help file for details"
VALUE "FileDescription", "Magic Set Editor"
VALUE "InternalName", "magicseteditor"