-
Notifications
You must be signed in to change notification settings - Fork 3
/
versioninfo.rc.in
39 lines (36 loc) · 1.07 KB
/
versioninfo.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
35
36
37
38
39
1 TYPELIB "versioninfo.rc"
#include <winver.h>
#ifdef NDEBUG
#define DEBUG_FILE_FLAG 0
#else
#define DEBUG_FILE_FLAG VS_FF_DEBUG
#endif
#if @PROJECT_VERSION_MAJOR@ == 0
#define PRERELEASE_FILE_FLAG VS_FF_PRERELEASE
#else
#define PRERELEASE_FILE_FLAG 0
#endif
1 VERSIONINFO
FILEVERSION @PROJECT_VERSION_MAJOR@, @PROJECT_VERSION_MINOR@, 0, 0
PRODUCTVERSION @PROJECT_VERSION_MAJOR@, @PROJECT_VERSION_MINOR@, 0, 0
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
FILEFLAGS (DEBUG_FILE_FLAG | PRERELEASE_FILE_FLAG)
FILEOS VOS_NT_WINDOWS32
FILETYPE VFT_DLL
FILESUBTYPE 0
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904e4"
BEGIN
VALUE "FileVersion","@PROJECT_VERSION_MAJOR@, @PROJECT_VERSION_MINOR@, 0, 0"
VALUE "InternalName", "@PROJECT_NAME@"
VALUE "ProductName", "@PROJECT_NAME@"
VALUE "ProductVersion","@PROJECT_VERSION_PREFIX@@PROJECT_VERSION_MAJOR@.@PROJECT_VERSION_MINOR@"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1252
END
END