]> Creatis software - gdcm.git/commitdiff
ENH: Adding support for removing warnings from the dashboard.
authormalaterre <malaterre>
Fri, 10 Jun 2005 16:11:43 +0000 (16:11 +0000)
committermalaterre <malaterre>
Fri, 10 Jun 2005 16:11:43 +0000 (16:11 +0000)
CMake/CTestCustom.ctest.in [new file with mode: 0644]
CMakeLists.txt

diff --git a/CMake/CTestCustom.ctest.in b/CMake/CTestCustom.ctest.in
new file mode 100644 (file)
index 0000000..a62a734
--- /dev/null
@@ -0,0 +1,6 @@
+SET(CTEST_CUSTOM_WARNING_EXCEPTION
+  ${CTEST_CUSTOM_WARNING_EXCEPTION}
+  "comparison is always false due to limited range of data type"
+  )
+
+
index 86f8d6d2b9530f670d2b227fc0c2f711cab4e240..7fb8b8d92df901cb762b45af477f7362b53f99c7 100644 (file)
@@ -200,6 +200,8 @@ INSTALL_FILES(/include .h gdcmConfigure.h)
 OPTION(BUILD_TESTING "Build testing." ON)
 
 IF(BUILD_TESTING)
+  CONFIGURE_FILE(${GDCM_SOURCE_DIR}/CMake/CTestCustom.ctest.in
+      ${GDCM_BINARY_DIR}/CMake/CTestCustom.ctest @ONLY)
   ENABLE_TESTING()
   INCLUDE (${CMAKE_ROOT}/Modules/Dart.cmake)
   MARK_AS_ADVANCED(DART_ROOT)