-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathversion.rc.in
34 lines (28 loc) · 951 Bytes
/
version.rc.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#include <windows.h>
#define VERSION_MAJOR @case_converter_VERSION_MAJOR@
#define VERSION_MINOR @case_converter_VERSION_MINOR@
#define VERSION_PATCH @case_converter_VERSION_PATCH@
#define VERSION_BUILD 0
#define STRINGIFY(x) #x
#define TO_STRING(x) STRINGIFY(x)
#define VERSION_STRING TO_STRING(VERSION_MAJOR) "." TO_STRING(VERSION_MINOR) "." TO_STRING(VERSION_PATCH) "." TO_STRING(VERSION_BUILD)
#define APP_NAME_STRING TO_STRING(APP_NAME)
VS_VERSION_INFO VERSIONINFO
FILEVERSION VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH, VERSION_BUILD
PRODUCTVERSION VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH, VERSION_BUILD
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904E4" // U.S. English
BEGIN
VALUE "FileDescription", APP_NAME_STRING
VALUE "FileVersion", VERSION_STRING
VALUE "ProductName", APP_NAME_STRING
VALUE "ProductVersion", VERSION_STRING
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1252
END
END