summary refs log tree commit diff stats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/Version.h12
-rw-r--r--Source/Version.rc20
2 files changed, 32 insertions, 0 deletions
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 @@
1#pragma once
2
3#define MAJOR 3
4#define MINOR 0
5#define PATCH 1
6
7#define VERSION MAJOR, MINOR, PATCH, 0
8
9#define TO_STRING(s) #s
10#define VERSION_STR TO_STRING(MAJOR) "." TO_STRING(MINOR) "." TO_STRING(PATCH) ".0"
11
12#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 @@
1#include "version.h"
2
3VS_VERSION_INFO VERSIONINFO
4 FILEVERSION VERSION
5 PRODUCTVERSION VERSION
6BEGIN
7 BLOCK "StringFileInfo"
8 BEGIN
9 BLOCK "040904b0"
10 BEGIN
11 VALUE "FileDescription", "Randomizer for The Witness"
12 VALUE "FileVersion", VERSION_STR
13 VALUE "InternalName", "Source.exe"
14 VALUE "LegalCopyright", "Copyright (C) 2018"
15 VALUE "OriginalFilename", "Source.exe"
16 VALUE "ProductName", PRODUCT_NAME
17 VALUE "ProductVersion", VERSION_STR
18 END
19 END
20END