From: malaterre Date: Fri, 10 Jun 2005 16:11:43 +0000 (+0000) Subject: ENH: Adding support for removing warnings from the dashboard. X-Git-Tag: Version1.2.bp~535 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=e8b076d7b8c64510f9feca6d83946cbe782bfc52;p=gdcm.git ENH: Adding support for removing warnings from the dashboard. --- diff --git a/CMake/CTestCustom.ctest.in b/CMake/CTestCustom.ctest.in new file mode 100644 index 00000000..a62a734e --- /dev/null +++ b/CMake/CTestCustom.ctest.in @@ -0,0 +1,6 @@ +SET(CTEST_CUSTOM_WARNING_EXCEPTION + ${CTEST_CUSTOM_WARNING_EXCEPTION} + "comparison is always false due to limited range of data type" + ) + + diff --git a/CMakeLists.txt b/CMakeLists.txt index 86f8d6d2..7fb8b8d9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)