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 ++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 Source/Version.h create mode 100644 Source/Version.rc (limited to 'Source') 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 -- cgit 1.4.1