aboutsummaryrefslogtreecommitdiff
path: root/revision.h.in.cmake
diff options
context:
space:
mode:
authorclick <click@gonnamakeyou.com>2011-08-04 22:53:33 +0200
committerclick <click@gonnamakeyou.com>2011-08-04 22:53:33 +0200
commitd7715fa4b8d18d518c1247bcb77c0ef76e9e4b17 (patch)
treef83e80743b055e843cd968018a85c56374dd4708 /revision.h.in.cmake
parent2056af63f01c177376fc6bebb41ce158cc6016b4 (diff)
Buildsystem/Windows: Add support for reading commithash and commitdate directly from the executable binaries.
To view this information, check the "Product Version" field in Properties on the respective daemon. + Fix worldserver/authserver .rc file layouts and content (now adheres to MS standards *sighs*) + Change .serv info output to show corename followed by the commit date and hash + Include showing the versionstring on worldserver startup completion (on Aokromes' request) Thanks to Paradox for bugging me enough about it and the initial pull-request.
Diffstat (limited to 'revision.h.in.cmake')
-rw-r--r--revision.h.in.cmake13
1 files changed, 8 insertions, 5 deletions
diff --git a/revision.h.in.cmake b/revision.h.in.cmake
index ac993190d4c..9212b8060ef 100644
--- a/revision.h.in.cmake
+++ b/revision.h.in.cmake
@@ -1,8 +1,11 @@
#ifndef __REVISION_H__
#define __REVISION_H__
- #define _HASH "@rev_hash_str@"
- #define FILEVER 0,0,0
- #define PRODUCTVER 0,0,0
- #define STRFILEVER "0, 0, @rev_hash_str@"
- #define STRPRODUCTVER "0, 0, @rev_hash_str@"
+ #define _HASH "@rev_hash@"
+ #define _DATE "@rev_date@"
+ #define VER_COMPANYNAME_STR "TrinityCore Developers"
+ #define VER_LEGALCOPYRIGHT_STR "(c)2008-2011 TrinityCore"
+ #define VER_FILEVERSION 0,0,0
+ #define VER_FILEVERSION_STR "@rev_date@ (@rev_hash@)"
+ #define VER_PRODUCTVERSION VER_FILEVERSION
+ #define VER_PRODUCTVERSION_STR VER_FILEVERSION_STR
#endif // __REVISION_H__