mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
3fd23da5ee
That "revision" was inherited from SVN days but had been since then used to give information about the build: "custom_build", "official", "<some distro's build>". It can now be overridden with the BUILD_NAME environment variable.
40 lines
1.3 KiB
Plaintext
40 lines
1.3 KiB
Plaintext
#include "core/version.h"
|
|
#ifndef _STR
|
|
#define _STR(m_x) #m_x
|
|
#define _MKSTR(m_x) _STR(m_x)
|
|
#endif
|
|
#ifndef VERSION_PATCH
|
|
#define VERSION_PATCH 0
|
|
#define PATCH_STRING
|
|
#else
|
|
#define PATCH_STRING "." _MKSTR(VERSION_PATCH)
|
|
#endif
|
|
|
|
GODOT_ICON ICON platform/windows/godot.ico
|
|
|
|
1 VERSIONINFO
|
|
FILEVERSION VERSION_MAJOR,VERSION_MINOR,VERSION_PATCH,0
|
|
PRODUCTVERSION VERSION_MAJOR,VERSION_MINOR,VERSION_PATCH,0
|
|
FILEOS 4
|
|
FILETYPE 1
|
|
BEGIN
|
|
BLOCK "StringFileInfo"
|
|
BEGIN
|
|
BLOCK "040904b0"
|
|
BEGIN
|
|
VALUE "CompanyName", "Godot Engine"
|
|
VALUE "FileDescription", VERSION_NAME " Editor"
|
|
VALUE "FileVersion", _MKSTR(VERSION_MAJOR) "." _MKSTR(VERSION_MINOR) "." _MKSTR(VERSION_PATCH)
|
|
VALUE "ProductName", VERSION_NAME
|
|
VALUE "Licence", "MIT"
|
|
VALUE "LegalCopyright", "Copyright (c) 2007-" _MKSTR(VERSION_YEAR) " Juan Linietsky, Ariel Manzur"
|
|
VALUE "Info", "https://godotengine.org"
|
|
VALUE "ProductVersion", _MKSTR(VERSION_MAJOR) "." _MKSTR(VERSION_MINOR) PATCH_STRING "." VERSION_BUILD
|
|
END
|
|
END
|
|
BLOCK "VarFileInfo"
|
|
BEGIN
|
|
VALUE "Translation", 0x409, 1200
|
|
END
|
|
END
|