]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - include/version.h
Compile module plugins
[xonotic/netradiant.git] / include / version.h
index 91f5e433a8dcc54783a1eee34d7a4f4c0db609f9..fd4e5de0cc0f8f0f08f4d0207af37aba524c5a61 100644 (file)
@@ -1,4 +1,11 @@
-// generated header, see makeversion.py
-#define RADIANT_VERSION "1.6.0"
-#define RADIANT_MINOR_VERSION "0"
-#define RADIANT_MAJOR_VERSION "6"
+// Makefile appends preprocessor flags instead now
+/// \todo Generate this file from cmake
+#ifndef RADIANT_VERSION
+#error no RADIANT_VERSION defined
+#endif
+#ifndef RADIANT_MAJOR_VERSION
+#error no RADIANT_MAJOR_VERSION defined
+#endif
+#ifndef RADIANT_MINOR_VERSION
+#error no RADIANT_MINOR_VERSION defined
+#endif