summaryrefslogtreecommitdiff
path: root/src/mana.rc.in
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <bjorn@lindeijer.nl>2024-03-30 20:44:45 +0100
committerThorbjørn Lindeijer <bjorn@lindeijer.nl>2024-04-08 16:29:46 +0200
commit0e493346b8ca9842946343ef43af1fbe2fd85fce (patch)
tree40361bcfb687af76a919b51a90305ba4c7e8cb5e /src/mana.rc.in
parentdc99410902b9eade9e408389e49f09d5163b6caf (diff)
downloadmana-0e493346b8ca9842946343ef43af1fbe2fd85fce.tar.gz
mana-0e493346b8ca9842946343ef43af1fbe2fd85fce.tar.bz2
mana-0e493346b8ca9842946343ef43af1fbe2fd85fce.tar.xz
mana-0e493346b8ca9842946343ef43af1fbe2fd85fce.zip
Resolved issues with winver.h
The configured file wasn't actually being used, because it was not in the include path. Instead, a checked in version was used. In addition, winver.h is an existing Windows header, which was conflicting with the generated file. Instead, now mana.rc itself is configured. We didn't actually need winver.h anywhere else, anyway.
Diffstat (limited to 'src/mana.rc.in')
-rw-r--r--src/mana.rc.in21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/mana.rc.in b/src/mana.rc.in
new file mode 100644
index 00000000..69c607e1
--- /dev/null
+++ b/src/mana.rc.in
@@ -0,0 +1,21 @@
+#include <windows.h> // include for version info constants
+
+A ICON MOVEABLE PURE LOADONCALL DISCARDABLE "../data/icons/mana.ico"
+
+1 VERSIONINFO
+FILEVERSION ${PROJECT_VERSION_MAJOR},${PROJECT_VERSION_MINOR},${PROJECT_VERSION_PATCH},0
+PRODUCTVERSION ${PROJECT_VERSION_MAJOR},${PROJECT_VERSION_MINOR},${PROJECT_VERSION_PATCH},0
+//FILETYPE VFT_APP
+{
+ BLOCK "StringFileInfo" {
+ BLOCK "040904E4" {
+ VALUE "CompanyName", "The Mana Development Team"
+ VALUE "FileVersion", "${PROJECT_VERSION}"
+ VALUE "FileDescription", "Mana"
+ VALUE "LegalCopyright", "2004-2010 (C)"
+ VALUE "OriginalFilename", "mana.exe"
+ VALUE "ProductName", "Mana MMORPG Client"
+ VALUE "ProductVersion", "${PROJECT_VERSION}"
+ }
+ }
+}