-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathEnigma.rc.in
38 lines (34 loc) · 1.38 KB
/
Enigma.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
// Ref: https://stackoverflow.com/questions/1903702/associate-file-type-and-icon
#include <windows.h>
#define ENIGMA_ASSOCIATE_FILE_VERSION @PROJECT_VERSION_MAJOR@,@PROJECT_VERSION_MINOR@,@PROJECT_VERSION_PATCH@,0 // !!DOESN'T WORK YET!! associate .enigma file extension version
#define ENIGMA_MAINTAINER "Bader-Eddine Ouaich"
#define IDI_APP 100
#define IDI_FILE 200
#define ID_VERSION 1
IDI_APP ICON "@CMAKE_CURRENT_SOURCE_DIR@\\res\\branding\\Logo.ico" // Executable icon
IDI_FILE ICON "@CMAKE_CURRENT_SOURCE_DIR@\\res\\branding\\Logo.ico" // Associate files icon
ID_VERSION VERSIONINFO
FILEVERSION ENIGMA_ASSOCIATE_FILE_VERSION
PRODUCTVERSION ENIGMA_ASSOCIATE_FILE_VERSION
FILEOS VOS__WINDOWS32
FILETYPE VFT_APP
{
BLOCK "StringFileInfo"
{
BLOCK "040904B0" // 0x409 = U.S. English, 0x04B0 = dec 1200 = Unicode
{
VALUE "CompanyName", ENIGMA_MAINTAINER ", Inc."
VALUE "FileDescription", "@PROJECT_NAME@"
VALUE "FileVersion", "@PROJECT_VERSION@"
VALUE "InternalName", ENIGMA_MAINTAINER
VALUE "LegalCopyright", "Copyright \xA9 " ENIGMA_MAINTAINER " and other contributors"
VALUE "OriginalFilename", "Enigma.exe"
VALUE "ProductName", "Enigma"
VALUE "ProductVersion", "@PROJECT_VERSION@"
}
}
BLOCK "VarFileInfo"
{
VALUE "Translation", 0x409 /*U.S. English*/, 1200 /*Unicode*/
}
}