]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
cmake: drop useless version.h
authorThomas Debesse <dev@illwieckz.net>
Sat, 4 Apr 2020 00:35:21 +0000 (02:35 +0200)
committerThomas Debesse <dev@illwieckz.net>
Sat, 4 Apr 2020 00:44:18 +0000 (02:44 +0200)
15 files changed:
contrib/bkgrnd2d/plugin.cpp
contrib/camera/camera.cpp
contrib/gtkgensurf/plugin.cpp
contrib/hydratoolz/plugin.cpp
contrib/prtview/AboutDialog.cpp
contrib/ufoaiplug/ufoai.cpp
include/CMakeLists.txt
include/version.h [deleted file]
plugins/spritemodel/plugin.cpp
plugins/textool/TexTool.cpp
radiant/console.cpp
radiant/gtkdlgs.cpp
radiant/main.cpp
tools/quake3/q3data/q3data.c
tools/quake3/q3map2/q3map2.h

index 35fb072071286131eff680f1ea983cd2e79c63b2..d426ecf5a149b206025a4ce43c492187040f9729 100644 (file)
@@ -292,8 +292,6 @@ bool CSynapseClientBkgrnd2d::RequestAPI( APIDescriptor_t *pAPI ){
        return false;
 }
 
-#include "version.h"
-
 const char* CSynapseClientBkgrnd2d::GetInfo(){
        return "2d Background plugin built " __DATE__ " " RADIANT_VERSION;
 }
index 7d48e213e4b46a73c755ad1f3e15c539d9c4ee91..08b0b5bbbc6eca36f0969db174e5ff8d355442c2 100644 (file)
@@ -226,8 +226,6 @@ bool CameraSynapseClient::RequestAPI( APIDescriptor_t *pAPI ){
        return false;
 }
 
-#include "version.h"
-
 const char* CameraSynapseClient::GetInfo(){
        return "Camera plugin v1.0 - Arnout van Meer - built " __DATE__ " " RADIANT_VERSION;
 }
index 6acaa4b9bf41a378cd420078e0a9c40c18b26582..3af80d63a98292025e6dd70178190234ab4e8ded 100644 (file)
@@ -197,8 +197,6 @@ bool GenSurfSynapseClient::RequestAPI( APIDescriptor_t *pAPI ){
        return false;
 }
 
-#include "version.h"
-
 const char* GenSurfSynapseClient::GetInfo(){
        return "GtkGenSurf - built " __DATE__ " " RADIANT_VERSION;
 }
index 14f2c4b8b09d561325db145b34a60797fc16edcd..b1dfcfe3248a5f0163666086bf319c8bec86f404 100644 (file)
@@ -20,7 +20,6 @@
  */
 
 #include "plugin.h"
-#include "version.h"
 
 /*! \file plugin.cpp
     \brief HydraToolz!
index fec540caa9a8238ae921455bda8235b6d30517a6..32b6f920604c76d1f07fe6c37cdc83e2a59eff3a 100644 (file)
@@ -21,7 +21,6 @@
 #include <gtk/gtk.h>
 #include <gtkutil/pointer.h>
 #include <uilib/uilib.h>
-#include "version.h"
 #include "gtkutil/pointer.h"
 
 #include "prtview.h"
index 962a2ebd4ea039a100ca129b2f5fe02ad7764d26..4792be91bd2ea75fe1ab379813145c1cf2ae7b3e 100644 (file)
@@ -25,8 +25,6 @@
 
 #include "iplugin.h"
 
-#include "version.h"
-
 #include "string/string.h"
 #include "modulesystem/singletonmodule.h"
 
index 40ab7936dae9a0795b5404e731566e4a2a075d27..f9db624cad3193dc86e05bb69b449f6f528d4b29 100644 (file)
@@ -42,7 +42,6 @@ add_library(includes
         renderable.h
         selectable.h
         stream_version.h
-        version.h
         warnings.h
         windowobserver.h
         )
diff --git a/include/version.h b/include/version.h
deleted file mode 100644 (file)
index cb97e38..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-// Makefile appends preprocessor flags instead now
-#ifndef RADIANT_VERSION
-#error no RADIANT_VERSION defined
-#endif
-#ifndef RADIANT_VERSION_STRING
-#error no RADIANT_VERSION_STRING defined
-#endif
index fd881ecf1edbec876618855fd1d56faa2eb28751..098de4993a280b67b28baffab1d0b8d32881dcdf 100644 (file)
@@ -200,8 +200,6 @@ bool CSynapseClientModel::RequestAPI( APIDescriptor_t *pAPI ){
        return false;
 }
 
-#include "version.h"
-
 const char* CSynapseClientModel::GetInfo(){
        return "Sprite Model module built " __DATE__ " " RADIANT_VERSION;
 }
index 7d5eba90ff55354369f0bac8c9ff4e0e6350d579..e328bdb08cc73adaf20dc47a19c8ca2973432500 100644 (file)
@@ -892,8 +892,6 @@ bool CSynapseClientTexTool::RequestAPI( APIDescriptor_t *pAPI ){
        return false;
 }
 
-#include "version.h"
-
 const char* CSynapseClientTexTool::GetInfo(){
        return "Texture Tools plugin built " __DATE__ " " RADIANT_VERSION;
 }
index 2eaf9cdf7dd505a0ee5faabb02e6b50619f32a08..e6479cb1a1e7012c5d230684827a681b699f695c 100644 (file)
@@ -33,7 +33,6 @@
 #include "stream/stringstream.h"
 #include "convert.h"
 
-#include "version.h"
 #include "aboutmsg.h"
 #include "gtkmisc.h"
 #include "mainframe.h"
index 817cdbf309f896e50726d0e1f55fe77d17c776f8..db65bbc2193e89ded1d8415e91d6abf5ccba8ddd 100644 (file)
@@ -40,7 +40,6 @@
 #include <gtk/gtk.h>
 
 #include "debugging/debugging.h"
-#include "version.h"
 #include "aboutmsg.h"
 
 #include "igl.h"
index 27d9b8af117a0d8ebdd85b88652da7923dfea611..dad69f5cdc874bf647f8bfc5a020b7080a23f2d6 100644 (file)
@@ -64,8 +64,6 @@
 #include "main.h"
 #include "globaldefs.h"
 
-#include "version.h"
-
 #include "debugging/debugging.h"
 
 #include "iundo.h"
index e52ce690abc7eb2a3ee7960f964a610c61536ff9..8f69fac8c321c854e55a383562ac37aca7803143 100644 (file)
@@ -563,8 +563,6 @@ void ParseScript( void ){
 
 //=======================================================
 
-#include "version.h"
-
 /*
    ==============
    main
index 63d49a8d168f6f69429a3f68206d721785d4ee6a..89f7915ace9d276d6d054ccdd6ee46bac76038d3 100644 (file)
@@ -60,8 +60,6 @@
 
 
 /* general */
-#include "version.h"            /* ttimo: might want to guard that if built outside of the GtkRadiant tree */
-
 #include "cmdlib.h"
 #include "mathlib.h"
 #include "md5lib.h"