From 43dac9cc8846cf1519256afbb4d408e42e23f3fe Mon Sep 17 00:00:00 2001 From: Simon Rit Date: Thu, 19 May 2011 16:06:35 +0200 Subject: [PATCH] Merged globals.h.in in clitkConfiguration.h.in --- common/CMakeLists.txt | 5 ----- common/clitkConfiguration.h.in | 4 ++++ common/globals.h.in | 3 --- vv/vvRegisterForm.cxx | 2 +- 4 files changed, 5 insertions(+), 9 deletions(-) delete mode 100644 common/globals.h.in diff --git a/common/CMakeLists.txt b/common/CMakeLists.txt index ebe4dff..0263f3a 100644 --- a/common/CMakeLists.txt +++ b/common/CMakeLists.txt @@ -57,8 +57,3 @@ TARGET_LINK_LIBRARIES(clitkDicomRTStruct vtkHybrid) #ADD_LIBRARY(clitkCommonShared SHARED ${clitkCommon_SRC}) #SET_TARGET_PROPERTIES(clitkCommonShared PROPERTIES COMPILE_FLAGS -fPIC) -#passing environnment variable -configure_file ( - globals.h.in - globals.h -) diff --git a/common/clitkConfiguration.h.in b/common/clitkConfiguration.h.in index f040914..b573cc8 100644 --- a/common/clitkConfiguration.h.in +++ b/common/clitkConfiguration.h.in @@ -6,4 +6,8 @@ #cmakedefine01 CLITK_EXPERIMENTAL #cmakedefine01 CLITK_MEMORY_INFO +// Global environment variables +#define OS_NAME "@CMAKE_SYSTEM@" +#define ARCHITECTURE "@CMAKE_SYSTEM_PROCESSOR@" + #endif diff --git a/common/globals.h.in b/common/globals.h.in deleted file mode 100644 index 384a4d9..0000000 --- a/common/globals.h.in +++ /dev/null @@ -1,3 +0,0 @@ -#define OS_NAME "@CMAKE_SYSTEM@" -#define ARCHITECTURE "@CMAKE_SYSTEM_PROCESSOR@" - \ No newline at end of file diff --git a/vv/vvRegisterForm.cxx b/vv/vvRegisterForm.cxx index 229fb2f..c2bda0e 100644 --- a/vv/vvRegisterForm.cxx +++ b/vv/vvRegisterForm.cxx @@ -21,7 +21,7 @@ #include #include #include -#include "common/globals.h" +#include "clitkConfiguration.h" #include "vvConfiguration.h" #include "vvUtils.h" -- 2.47.1