mirror of
https://github.com/odin-lang/Odin.git
synced 2026-01-02 03:02:37 +00:00
76 lines
1.6 KiB
Plaintext
76 lines
1.6 KiB
Plaintext
|
|
#define Filename "demo.exe"
|
|
#define FileDescription "Odin demo project."
|
|
#define ProductName "Odin Programming Language Demo"
|
|
|
|
#include "winres.h"
|
|
|
|
LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
|
|
#pragma code_page(65001)
|
|
|
|
#define IDI_ICON1 101
|
|
|
|
#define Q(x) #x
|
|
#define QUOTE(x) Q(x)
|
|
#define FMTVER(x,y,z,w) QUOTE(x.y.z.w)
|
|
|
|
#ifndef V1
|
|
#define V1 1
|
|
#endif
|
|
#ifndef V2
|
|
#define V2 0
|
|
#endif
|
|
#ifndef V3
|
|
#define V3 0
|
|
#endif
|
|
#ifndef V4
|
|
#define V4 0
|
|
#endif
|
|
#ifndef ODIN_VERSION
|
|
#define ODIN_VERSION FMTVER(V1,V2,V3,V4)
|
|
#endif
|
|
#ifndef GIT_SHA
|
|
#define GIT_SHA _
|
|
#endif
|
|
|
|
VS_VERSION_INFO VERSIONINFO
|
|
FILEVERSION V1,V2,V3,V4
|
|
PRODUCTVERSION V1,V2,V3,V4
|
|
FILEFLAGSMASK 0x3fL
|
|
#ifdef _DEBUG
|
|
FILEFLAGS 0x1L
|
|
#else
|
|
FILEFLAGS 0x0L
|
|
#endif
|
|
FILEOS 0x40004L
|
|
FILETYPE 0x1L
|
|
FILESUBTYPE 0x0L
|
|
BEGIN
|
|
BLOCK "StringFileInfo"
|
|
BEGIN
|
|
BLOCK "0409FDE9"
|
|
BEGIN
|
|
VALUE "CompanyName", "https://odin-lang.org/"
|
|
VALUE "FileDescription", "Odin Demo"
|
|
VALUE "FileVersion", FMTVER(V1,V2,V3,V4)
|
|
VALUE "InternalName", "demo.exe"
|
|
VALUE "LegalCopyright", "Copyright (c) 2016-2024 Ginger Bill. All rights reserved."
|
|
VALUE "OriginalFilename", "demo.exe"
|
|
VALUE "ProductName", "Odin Programming Language Demo"
|
|
VALUE "ProductVersion", QUOTE(ODIN_VERSION)
|
|
VALUE "Comments", QUOTE(ODIN_VERSION)
|
|
// PrivateBuild
|
|
// SpecialBuild
|
|
// custom values
|
|
VALUE "GitSha", QUOTE(GIT_SHA)
|
|
END
|
|
END
|
|
BLOCK "VarFileInfo"
|
|
BEGIN
|
|
//0xFDE9=65001=CP_UTF8
|
|
VALUE "Translation", 0x0409, 0xFDE9
|
|
END
|
|
END
|
|
|
|
IDI_ICON1 ICON "..\\..\\misc\\sourcefile.ico"
|