Remove warnings related to 3rd party lib
authorMathieu Malaterre <mathieu.malaterre@gmail.com>
Fri, 20 Jan 2012 10:59:10 +0000 (10:59 +0000)
committerMathieu Malaterre <mathieu.malaterre@gmail.com>
Fri, 20 Jan 2012 10:59:10 +0000 (10:59 +0000)
CMake/CTestCustom.cmake.in

index a85b0510ea577e9511b96df71e2ecc7c1a99f179..b3c4931e3f03f4825ebba208fee0889f4a02caef 100644 (file)
@@ -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,
 #----------------------------------------------------------------------
 
 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/.*"
+  )