-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathversion.rc.in
More file actions
37 lines (35 loc) · 1.05 KB
/
version.rc.in
File metadata and controls
37 lines (35 loc) · 1.05 KB
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
#include <windows.h>
// Use CMake variables to fill in version numbers
#define VER_MAJOR @PROJECT_VERSION_MAJOR@
#define VER_MINOR @PROJECT_VERSION_MINOR@
#define VER_PATCH @PROJECT_VERSION_PATCH@
#define VER_BUILD @CFRDS_GIT_REVISION@
VS_VERSION_INFO VERSIONINFO
FILEVERSION VER_MAJOR,VER_MINOR,VER_PATCH,VER_BUILD
PRODUCTVERSION VER_MAJOR,VER_MINOR,VER_PATCH,VER_BUILD
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS VOS_NT_WINDOWS32
FILETYPE VFT_APP
FILESUBTYPE VFT2_UNKNOWN
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904E4" // U.S. English and Windows-1252 codepage
BEGIN
VALUE "FileVersion", "@GIT_COMMIT_NAME@\0"
VALUE "ProductVersion", "@GIT_COMMIT_NAME@\0"
VALUE "LegalCopyright", "Copyright (C) 2025\0"
VALUE "OriginalFilename", "@CMAKE_PROJECT_NAME@.@RC_OUT_EXTENSION@\0"
VALUE "ProductName", "@CMAKE_PROJECT_NAME@\0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x0409, 1252
END
END