summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/rbutilqt.rc
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2012-07-01 19:06:34 +0200
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2012-07-01 19:06:34 +0200
commit644b83e0b4b47911f35ea34976d767f020f42f4e (patch)
treeb47d02b68886a88b6f0b255348b6a1d33ce0addd /rbutil/rbutilqt/rbutilqt.rc
parentc3a2b20ef2e1cf630a4863e57a6a403291fd2ba3 (diff)
downloadrockbox-644b83e0b4b47911f35ea34976d767f020f42f4e.tar.gz
rockbox-644b83e0b4b47911f35ea34976d767f020f42f4e.tar.bz2
rockbox-644b83e0b4b47911f35ea34976d767f020f42f4e.zip
Add version information to Windows file properties.
Windows can show the version in the file properties. This requires an additional entry in its resource. Restructure global version defines since the former requires a different format than used previously. Change-Id: I2bf261a02ea8e0af6dc081568960debfb779d396
Diffstat (limited to 'rbutil/rbutilqt/rbutilqt.rc')
-rw-r--r--rbutil/rbutilqt/rbutilqt.rc34
1 files changed, 33 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/rbutilqt.rc b/rbutil/rbutilqt/rbutilqt.rc
index 8b7938b69c..8ffe2b2424 100644
--- a/rbutil/rbutilqt/rbutilqt.rc
+++ b/rbutil/rbutilqt/rbutilqt.rc
@@ -1,2 +1,34 @@
-1 24 MOVEABLE PURE "rbutilqt.manifest"
+#include <windows.h>
+#include "version.h"
+1 MANIFEST MOVEABLE PURE "rbutilqt.manifest"
RBUTIL_ICON ICON DISCARDABLE "icons/rockbox.ico"
+
+// Version Info
+
+VS_VERSION_INFO VERSIONINFO
+FILEVERSION VERSION_MAJOR,VERSION_MINOR,VERSION_MICRO,VERSION_PATCH
+PRODUCTVERSION VERSION_MAJOR,VERSION_MINOR,VERSION_MICRO,VERSION_PATCH
+FILEFLAGSMASK 0x17L
+FILEFLAGS 0x0L
+FILEOS 0x4L
+FILETYPE 0x0L
+FILESUBTYPE 0x0L
+BEGIN
+ BLOCK "StringFileInfo"
+ BEGIN
+ BLOCK "000004b0"
+ BEGIN
+ VALUE "FileDescription", "Rockbox Utility"
+ VALUE "FileVersion", VERSIONSTRING(VERSION_MAJOR, VERSION_MINOR, VERSION_MICRO)
+ VALUE "LegalCopyright", "Rockbox developers"
+ VALUE "ProductName", "Rockbox Utility"
+ VALUE "ProductVersion", VERSIONSTRING(VERSION_MAJOR, VERSION_MINOR, VERSION_MICRO)
+ VALUE "OriginalFilename", "RockboxUtility.exe"
+ END
+ END
+ BLOCK "VarFileInfo"
+ BEGIN
+ VALUE "Translation", 0x0, 1200
+ END
+END
+