summaryrefslogtreecommitdiff
path: root/CMake
diff options
context:
space:
mode:
authorMathieu Malaterre <mathieu.malaterre@gmail.com>2012-01-20 10:59:10 +0000
committerMathieu Malaterre <mathieu.malaterre@gmail.com>2012-01-20 10:59:10 +0000
commitd27bc19d7173d7c1a0e39fb28cd8135dc9e2e5c9 (patch)
tree4a5c7e6ae38fb9aa44b10085b9316039a32aea37 /CMake
parentb7b72bbf974f4f8b2ae5f578e78a3cc67cbfb02c (diff)
Remove warnings related to 3rd party lib
Diffstat (limited to 'CMake')
-rw-r--r--CMake/CTestCustom.cmake.in31
1 files changed, 12 insertions, 19 deletions
diff --git a/CMake/CTestCustom.cmake.in b/CMake/CTestCustom.cmake.in
index a85b0510..b3c4931e 100644
--- a/CMake/CTestCustom.cmake.in
+++ b/CMake/CTestCustom.cmake.in
@@ -1,12 +1,3 @@
-#
-# Note that the ITK/CMakeLists.txt file configures this file
-#
-# CMake/CTestCustom.cmake.in
-#
-# to this file
-#
-# ${ITK_BINARY_DIR}/CTestCustom.cmake
-#
#----------------------------------------------------------------------
#
# For further details regarding this file,
@@ -18,22 +9,24 @@
#----------------------------------------------------------------------
SET(CTEST_CUSTOM_MAXIMUM_PASSED_TEST_OUTPUT_SIZE 1000000)
-SET (CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS 50)
-SET (CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS 2000)
+SET(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS 50)
+SET(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS 2000)
SET(CTEST_CUSTOM_COVERAGE_EXCLUDE
- ${CTEST_CUSTOM_COVERAGE_EXCLUDE}
+ ${CTEST_CUSTOM_COVERAGE_EXCLUDE}
+
+ # Exclude files from the Testing directories
+ ".*/tests/.*"
- # Exclude files from the Testing directories
- ".*/tests/.*"
-
# Exclude files from the ThirdParty Utilities directories
- ".*/thirdparty/.*"
- )
+ ".*/thirdparty/.*"
+ )
SET(CTEST_CUSTOM_WARNING_EXCEPTION
${CTEST_CUSTOM_WARNING_EXCEPTION}
-
+
# Suppress warning caused by intentional messages about deprecation
".*warning,.* is deprecated"
-)
+ # supress warnings caused by 3rd party libs:
+ ".*/thirdparty/.*"
+ )