]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - include/version.h
Compile module plugins
[xonotic/netradiant.git] / include / version.h
index f3905933998b5c08735e754f5153f287ffedf6c5..fd4e5de0cc0f8f0f08f4d0207af37aba524c5a61 100644 (file)
@@ -1,4 +1,11 @@
-// generated header, see makeversion.py\r
-#define RADIANT_VERSION "1.4.0"\r
-#define RADIANT_MINOR_VERSION "0"\r
-#define RADIANT_MAJOR_VERSION "4"\r
+// 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