diff options
author | sapier <Sapier at GMX dot net> | 2014-03-02 23:49:19 +0100 |
---|---|---|
committer | sapier <Sapier at GMX dot net> | 2014-03-02 23:49:19 +0100 |
commit | 3e52dd5c6838e87acaa45a233fa322b7135251e4 (patch) | |
tree | 188c85e38e827cbdcb4a03a384cbe9489e0219f6 /misc | |
parent | baee91bf78cdc17a401ad82ee14e2917d44be8fb (diff) | |
download | minetest-3e52dd5c6838e87acaa45a233fa322b7135251e4.tar.gz minetest-3e52dd5c6838e87acaa45a233fa322b7135251e4.tar.bz2 minetest-3e52dd5c6838e87acaa45a233fa322b7135251e4.zip |
Improved win32 file version information
Diffstat (limited to 'misc')
-rw-r--r-- | misc/winresource.rc | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/misc/winresource.rc b/misc/winresource.rc index 8913ff572..ecb314c12 100644 --- a/misc/winresource.rc +++ b/misc/winresource.rc @@ -1,5 +1,57 @@ #include <windows.h>
#include <commctrl.h>
#include <richedit.h>
+#define USE_CMAKE_CONFIG_H
+#include "config.h"
+#undef USE_CMAKE_CONFIG_H
+
+#if RUN_IN_PLACE == 1
+ #define BUILDMODE "RUN_IN_PLACE=1\0"
+#else
+ #define BUILDMODE "RUN_IN_PLACE=0\0"
+#endif
+
LANGUAGE 0, SUBLANG_NEUTRAL
130 ICON "minetest-icon.ico"
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Version
+//
+
+1 VERSIONINFO
+ FILEVERSION VERSION_MAJOR,VERSION_MINOR,VERSION_PATCH_ORIG,0
+ PRODUCTVERSION VERSION_MAJOR,VERSION_MINOR,VERSION_PATCH_ORIG,0
+ FILEFLAGSMASK 0x3fL
+#ifndef NDEBUG
+ FILEFLAGS 0x1L
+#else
+ FILEFLAGS 0x0L
+#endif
+ FILEOS VOS_NT_WINDOWS32
+ FILETYPE VFT_APP
+ FILESUBTYPE 0x0L
+BEGIN
+ BLOCK "StringFileInfo"
+ BEGIN
+ BLOCK "040904b0"
+ BEGIN
+ VALUE "Comments", "\0"
+ VALUE "CompanyName", "Minetest Community\0"
+ VALUE "FileDescription", "Minetest engine core main application\0"
+ VALUE "FileVersion", VERSION_STRING
+ VALUE "InternalName", "Minetest engine\0"
+ VALUE "LegalCopyright", "(c) 2014 celeron55\0"
+ VALUE "LegalTrademarks", """Minetest"" is property of Minetest community, don't use the name for your application without permission!\0"
+ VALUE "OriginalFilename", "minetest.exe\0"
+ VALUE "PrivateBuild", VERSION_EXTRA_STRING
+ VALUE "ProductName", "Minetest\0"
+ VALUE "ProductVersion", PRODUCT_VERSION_STRING
+ VALUE "SpecialBuild", BUILDMODE
+ END
+END
+BLOCK "VarFileInfo"
+BEGIN
+ VALUE "Translation", 0x409, 1200
+END
+END
|