summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBernd Wachter <bwachter-tmw@lart.info>2010-01-25 19:21:44 +0100
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2010-01-25 21:29:29 +0100
commitc1ac8aa8dc81bfcc06d7928ca974ec1a941c7adf (patch)
tree79546576ded471713e0e964daf00a805bd59911a /src
parent27d88d22e57cd348c4dd28201942a043ac2d5054 (diff)
downloadmana-c1ac8aa8dc81bfcc06d7928ca974ec1a941c7adf.tar.gz
mana-c1ac8aa8dc81bfcc06d7928ca974ec1a941c7adf.tar.bz2
mana-c1ac8aa8dc81bfcc06d7928ca974ec1a941c7adf.tar.xz
mana-c1ac8aa8dc81bfcc06d7928ca974ec1a941c7adf.zip
Allow version overriding by CMake parameters, autogenerate winver.h
Diffstat (limited to 'src')
-rw-r--r--src/winver.h.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/winver.h.in b/src/winver.h.in
new file mode 100644
index 00000000..fb0aac2c
--- /dev/null
+++ b/src/winver.h.in
@@ -0,0 +1,6 @@
+/* VERSION DEFINITIONS */
+#define VER_MAJOR ${VER_MAJOR}
+#define VER_MINOR ${VER_MINOR}
+#define VER_RELEASE ${VER_RELEASE}
+#define VER_BUILD ${VER_BUILD}
+#define PACKAGE_VERSION "${VERSION}"