[opengtl-commits] [576] move the definition of -Wall and -Werror ( they trigger issues in the libraw code)

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


Revision: 576
Author:   cyrille
Date:     2009-03-01 11:15:00 +0100 (Sun, 01 Mar 2009)

Log Message:
-----------
move the definition of -Wall and -Werror (they trigger issues in the libraw code)

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


Modified: trunk/OpenGTL/CMakeLists.txt
===================================================================
--- trunk/OpenGTL/CMakeLists.txt	2009-03-01 10:13:42 UTC (rev 575)
+++ trunk/OpenGTL/CMakeLists.txt	2009-03-01 10:15:00 UTC (rev 576)
@@ -24,8 +24,6 @@
 test_big_endian(CMAKE_WORDS_BIGENDIAN)
 configure_file(config-endian.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-endian.h )
 
-add_definitions(-Wall -Werror )
-
 find_package(LLVM REQUIRED)
 if( NOT LLVM_VERSION STREQUAL "2.4" )
   message(FATAL_ERROR "LLVM 2.4 is required.")

Modified: trunk/OpenGTL/Extensions/PngDC/CMakeLists.txt
===================================================================
--- trunk/OpenGTL/Extensions/PngDC/CMakeLists.txt	2009-03-01 10:13:42 UTC (rev 575)
+++ trunk/OpenGTL/Extensions/PngDC/CMakeLists.txt	2009-03-01 10:15:00 UTC (rev 576)
@@ -1,5 +1,7 @@
 include_directories(${PNG_INCLUDE_DIR})
 
+add_definitions(-Wall -Werror )
+
 set(PNG_DC_SRCS
     PngDC.cpp )
 

Modified: trunk/OpenGTL/OpenCTL/CMakeLists.txt
===================================================================
--- trunk/OpenGTL/OpenCTL/CMakeLists.txt	2009-03-01 10:13:42 UTC (rev 575)
+++ trunk/OpenGTL/OpenCTL/CMakeLists.txt	2009-03-01 10:15:00 UTC (rev 576)
@@ -2,6 +2,8 @@
 
 include_directories( ${CMAKE_CURRENT_SOURCE_DIR} )
 
+add_definitions(-Wall -Werror )
+
 set(CTLC "${CMAKE_CURRENT_BINARY_DIR}/tools/compiler/ctlc")
 set(CTLI "${CMAKE_CURRENT_BINARY_DIR}/tools/interpreter/ctli")
 

Modified: trunk/OpenGTL/OpenGTL/CMakeLists.txt
===================================================================
--- trunk/OpenGTL/OpenGTL/CMakeLists.txt	2009-03-01 10:13:42 UTC (rev 575)
+++ trunk/OpenGTL/OpenGTL/CMakeLists.txt	2009-03-01 10:15:00 UTC (rev 576)
@@ -1,5 +1,7 @@
 include_directories( ${CMAKE_CURRENT_SOURCE_DIR} )
 
+add_definitions(-Wall -Werror )
+
 add_subdirectory(GTLCore)
 add_subdirectory(GTLTest)
 add_subdirectory(GTLImageIO)

Modified: trunk/OpenGTL/OpenShiva/CMakeLists.txt
===================================================================
--- trunk/OpenGTL/OpenShiva/CMakeLists.txt	2009-03-01 10:13:42 UTC (rev 575)
+++ trunk/OpenGTL/OpenShiva/CMakeLists.txt	2009-03-01 10:15:00 UTC (rev 576)
@@ -1,5 +1,7 @@
 include_directories( ${CMAKE_CURRENT_SOURCE_DIR} )
 
+add_definitions(-Wall -Werror )
+
 set(SHIVAC "${CMAKE_CURRENT_BINARY_DIR}/tools/compiler/shivac")
 set(SHIVAI "${CMAKE_CURRENT_BINARY_DIR}/tools/interpreter/shivai")
 set(SHIVATESTER "${CMAKE_CURRENT_BINARY_DIR}/tools/tester/shivatester")


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