[opengtl-commits] [181] kill the annoying error messages

[ Thread Index | Date Index | More lists.tuxfamily.org/opengtl-commits Archives ]


Revision: 181
Author:   cyrille
Date:     2008-05-19 15:01:37 +0200 (Mon, 19 May 2008)

Log Message:
-----------
kill the annoying error messages

Modified Paths:
--------------
    trunk/OpenGTL/OpenCTL/OpenCTL/CMakeLists.txt
    trunk/OpenGTL/OpenShiva/OpenShiva/CMakeLists.txt


Modified: trunk/OpenGTL/OpenCTL/OpenCTL/CMakeLists.txt
===================================================================
--- trunk/OpenGTL/OpenCTL/OpenCTL/CMakeLists.txt	2008-05-19 12:53:19 UTC (rev 180)
+++ trunk/OpenGTL/OpenCTL/OpenCTL/CMakeLists.txt	2008-05-19 13:01:37 UTC (rev 181)
@@ -18,18 +18,18 @@
 add_library(OpenCTL SHARED ${OpenCTL_SRCS})
 target_link_libraries(OpenCTL GTLCore )
 
-add_definitions( OpenCTL "${LLVM_COMPILE_FLAGS}")
+add_definitions( "${LLVM_COMPILE_FLAGS}")
 
 if (NOT APPLE)
-  add_definitions( OpenCTL -D_OPENCTL_CTL_STD_LIB_BUILD_DIR_=\\"${CMAKE_CURRENT_BINARY_DIR}/../CtlStdLib/\\")
-  add_definitions( OpenCTL -D_OPENCTL_LIB_INSTALL_=\\"${CMAKE_INSTALL_PREFIX}/lib/\\")
-  add_definitions( OpenCTL -D_OPENCTL_CTL_STD_LIB_SRC_DIR_=\\"${CMAKE_CURRENT_SOURCE_DIR}/../CtlStdLib/\\")
-  add_definitions( OpenCTL -D_OPENCTL_CTL_SHARE_DIR_=\\"${SHARE_INSTALL_DIR}/ctl\\" )
+  add_definitions( -D_OPENCTL_CTL_STD_LIB_BUILD_DIR_=\\"${CMAKE_CURRENT_BINARY_DIR}/../CtlStdLib/\\")
+  add_definitions( -D_OPENCTL_LIB_INSTALL_=\\"${CMAKE_INSTALL_PREFIX}/lib/\\")
+  add_definitions( -D_OPENCTL_CTL_STD_LIB_SRC_DIR_=\\"${CMAKE_CURRENT_SOURCE_DIR}/../CtlStdLib/\\")
+  add_definitions( -D_OPENCTL_CTL_SHARE_DIR_=\\"${SHARE_INSTALL_DIR}/ctl\\" )
 else (NOT APPLE)
-  add_definitions( OpenCTL -D_OPENCTL_CTL_STD_LIB_BUILD_DIR_='\"${CMAKE_CURRENT_BINARY_DIR}/../CtlStdLib/\"')
-  add_definitions( OpenCTL -D_OPENCTL_LIB_INSTALL_='\"${CMAKE_INSTALL_PREFIX}/lib/\"')
-  add_definitions( OpenCTL -D_OPENCTL_CTL_STD_LIB_SRC_DIR_='\"${CMAKE_CURRENT_SOURCE_DIR}/../CtlStdLib/\"')
-  add_definitions( OpenCTL -D_OPENCTL_CTL_SHARE_DIR_='\"${SHARE_INSTALL_DIR}/ctl\"' )
+  add_definitions( -D_OPENCTL_CTL_STD_LIB_BUILD_DIR_='\"${CMAKE_CURRENT_BINARY_DIR}/../CtlStdLib/\"')
+  add_definitions( -D_OPENCTL_LIB_INSTALL_='\"${CMAKE_INSTALL_PREFIX}/lib/\"')
+  add_definitions( -D_OPENCTL_CTL_STD_LIB_SRC_DIR_='\"${CMAKE_CURRENT_SOURCE_DIR}/../CtlStdLib/\"')
+  add_definitions( -D_OPENCTL_CTL_SHARE_DIR_='\"${SHARE_INSTALL_DIR}/ctl\"' )
 endif(NOT APPLE)
 
 

Modified: trunk/OpenGTL/OpenShiva/OpenShiva/CMakeLists.txt
===================================================================
--- trunk/OpenGTL/OpenShiva/OpenShiva/CMakeLists.txt	2008-05-19 12:53:19 UTC (rev 180)
+++ trunk/OpenGTL/OpenShiva/OpenShiva/CMakeLists.txt	2008-05-19 13:01:37 UTC (rev 181)
@@ -17,18 +17,18 @@
 add_library(OpenShiva SHARED ${OpenShiva_SRCS})
 target_link_libraries(OpenShiva GTLCore )
 
-add_definitions( OpenShiva "${LLVM_COMPILE_FLAGS}")
+add_definitions( "${LLVM_COMPILE_FLAGS}")
 
 if (NOT APPLE)
-  add_definitions( OpenShiva -D_OPENSHIVA_SHIVA_STD_LIB_BUILD_DIR_=\\"${CMAKE_CURRENT_BINARY_DIR}/../ShivaStdLib/\\")
-  add_definitions( OpenShiva -D_OPENSHIVA_LIB_INSTALL_=\\"${CMAKE_INSTALL_PREFIX}/lib/\\")
-  add_definitions( OpenShiva -D_OPENSHIVA_SHIVA_STD_LIB_SRC_DIR_=\\"${CMAKE_CURRENT_SOURCE_DIR}/../ShivaStdLib/\\")
-  add_definitions( OpenShiva -D_OPENSHIVA_SHIVA_SHARE_DIR_=\\"${SHARE_INSTALL_DIR}/shiva\\" )
+  add_definitions( -D_OPENSHIVA_SHIVA_STD_LIB_BUILD_DIR_=\\"${CMAKE_CURRENT_BINARY_DIR}/../ShivaStdLib/\\")
+  add_definitions( -D_OPENSHIVA_LIB_INSTALL_=\\"${CMAKE_INSTALL_PREFIX}/lib/\\")
+  add_definitions( -D_OPENSHIVA_SHIVA_STD_LIB_SRC_DIR_=\\"${CMAKE_CURRENT_SOURCE_DIR}/../ShivaStdLib/\\")
+  add_definitions( -D_OPENSHIVA_SHIVA_SHARE_DIR_=\\"${SHARE_INSTALL_DIR}/shiva\\" )
 else (NOT APPLE)
-  add_definitions( OpenShiva -D_OPENSHIVA_SHIVA_STD_LIB_BUILD_DIR_='\"${CMAKE_CURRENT_BINARY_DIR}/../ShivaStdLib/\"')
-  add_definitions( OpenShiva -D_OPENSHIVA_LIB_INSTALL_='\"${CMAKE_INSTALL_PREFIX}/lib/\"')
-  add_definitions( OpenShiva -D_OPENSHIVA_SHIVA_STD_LIB_SRC_DIR_='\"${CMAKE_CURRENT_SOURCE_DIR}/../ShivaStdLib/\"')
-  add_definitions( OpenShiva -D_OPENSHIVA_SHIVA_SHARE_DIR_='\"${SHARE_INSTALL_DIR}/shiva\"' )
+  add_definitions( -D_OPENSHIVA_SHIVA_STD_LIB_BUILD_DIR_='\"${CMAKE_CURRENT_BINARY_DIR}/../ShivaStdLib/\"')
+  add_definitions( -D_OPENSHIVA_LIB_INSTALL_='\"${CMAKE_INSTALL_PREFIX}/lib/\"')
+  add_definitions( -D_OPENSHIVA_SHIVA_STD_LIB_SRC_DIR_='\"${CMAKE_CURRENT_SOURCE_DIR}/../ShivaStdLib/\"')
+  add_definitions( -D_OPENSHIVA_SHIVA_SHARE_DIR_='\"${SHARE_INSTALL_DIR}/shiva\"' )
 endif(NOT APPLE)
 
 


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/