diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2018-02-24 01:20:50 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-02-24 01:20:50 +0100 |
| commit | ed0d1a440474d862bca9d05645f46fda8d4c43b4 (patch) | |
| tree | 34c7229b46c05fed059617d23432471fc1ca352d /platform | |
| parent | 0712acec1c21b5683f4cfe292bb82f7d1d37cae0 (diff) | |
| parent | 23ebae01dc7e3df9c842ca7d017f7b233837721d (diff) | |
Merge pull request #16957 from akien-mga/version-macros
Refactor version macros and fix related bugs
Diffstat (limited to 'platform')
| -rw-r--r-- | platform/windows/godot_res.rc | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/platform/windows/godot_res.rc b/platform/windows/godot_res.rc index c535a749c0..f2dca10d55 100644 --- a/platform/windows/godot_res.rc +++ b/platform/windows/godot_res.rc @@ -3,11 +3,9 @@ #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 @@ -24,12 +22,12 @@ BEGIN BEGIN VALUE "CompanyName", "Godot Engine" VALUE "FileDescription", VERSION_NAME " Editor" - VALUE "FileVersion", _MKSTR(VERSION_MAJOR) "." _MKSTR(VERSION_MINOR) "." _MKSTR(VERSION_PATCH) + VALUE "FileVersion", VERSION_NUMBER VALUE "ProductName", VERSION_NAME VALUE "Licence", "MIT" - VALUE "LegalCopyright", "Copyright (c) 2007-" _MKSTR(VERSION_YEAR) " Juan Linietsky, Ariel Manzur" + VALUE "LegalCopyright", "Copyright (c) 2007-" _MKSTR(VERSION_YEAR) " Juan Linietsky, Ariel Manzur and contributors" VALUE "Info", "https://godotengine.org" - VALUE "ProductVersion", _MKSTR(VERSION_MAJOR) "." _MKSTR(VERSION_MINOR) PATCH_STRING "." VERSION_BUILD + VALUE "ProductVersion", VERSION_FULL_BUILD END END BLOCK "VarFileInfo" |