From 1f28f8da49561b16e358082641b8ec4dd36f1cc9 Mon Sep 17 00:00:00 2001 From: jbzdarkid Date: Tue, 30 Oct 2018 19:13:25 -0700 Subject: Probably good --- Source/Version.h | 12 ++++++++++++ Source/Version.rc | 20 ++++++++++++++++++++ WitnessRandomizer.sln | 1 + 3 files changed, 33 insertions(+) create mode 100644 Source/Version.h create mode 100644 Source/Version.rc diff --git a/Source/Version.h b/Source/Version.h new file mode 100644 index 0000000..088b618 --- /dev/null +++ b/Source/Version.h @@ -0,0 +1,12 @@ +#pragma once + +#define MAJOR 3 +#define MINOR 0 +#define PATCH 1 + +#define VERSION MAJOR, MINOR, PATCH, 0 + +#define TO_STRING(s) #s +#define VERSION_STR TO_STRING(MAJOR) "." TO_STRING(MINOR) "." TO_STRING(PATCH) ".0" + +#define PRODUCT_NAME "Witness Randomizer" diff --git a/Source/Version.rc b/Source/Version.rc new file mode 100644 index 0000000..02b2b98 --- /dev/null +++ b/Source/Version.rc @@ -0,0 +1,20 @@ +#include "version.h" + +VS_VERSION_INFO VERSIONINFO + FILEVERSION VERSION + PRODUCTVERSION VERSION +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040904b0" + BEGIN + VALUE "FileDescription", "Randomizer for The Witness" + VALUE "FileVersion", VERSION_STR + VALUE "InternalName", "Source.exe" + VALUE "LegalCopyright", "Copyright (C) 2018" + VALUE "OriginalFilename", "Source.exe" + VALUE "ProductName", PRODUCT_NAME + VALUE "ProductVersion", VERSION_STR + END + END +END diff --git a/WitnessRandomizer.sln b/WitnessRandomizer.sln index bc19048..1e614e8 100644 --- a/WitnessRandomizer.sln +++ b/WitnessRandomizer.sln @@ -28,6 +28,7 @@ Global {90113AEC-8765-4A8D-B7A1-6C9BE730E5D5}.Debug|x64.ActiveCfg = Debug {90113AEC-8765-4A8D-B7A1-6C9BE730E5D5}.Debug|x86.ActiveCfg = Release {90113AEC-8765-4A8D-B7A1-6C9BE730E5D5}.Release|x64.ActiveCfg = Release + {90113AEC-8765-4A8D-B7A1-6C9BE730E5D5}.Release|x64.Build.0 = Release {90113AEC-8765-4A8D-B7A1-6C9BE730E5D5}.Release|x86.ActiveCfg = Release {98BC35B9-EE1A-4D77-85F2-ADAA72DB16F7}.Debug|x64.ActiveCfg = Debug|x64 {98BC35B9-EE1A-4D77-85F2-ADAA72DB16F7}.Debug|x64.Build.0 = Debug|x64 -- cgit 1.4.1