Browse Source

ENH: added custom supp for cmake

Ken Martin 21 years ago
parent
commit
6257ca30a5
2 changed files with 15 additions and 0 deletions
  1. 3 0
      CMakeLists.txt
  2. 12 0
      CTestCustom.ctest.in

+ 3 - 0
CMakeLists.txt

@@ -117,6 +117,9 @@ CONFIGURE_FILE(${CMake_SOURCE_DIR}/Tests/.NoDartCoverage
 CONFIGURE_FILE(${CMake_SOURCE_DIR}/Tests/.NoDartCoverage
   ${CMake_BINARY_DIR}/Modules/.NoDartCoverage)
 
+CONFIGURE_FILE(${CMake_SOURCE_DIR}/CTestCustom.ctest.in
+  ${CMake_BINARY_DIR}/CTestCustom.ctest @ONLY)
+
 SET(CMAKE_BUILD_MFC_DIALOG 0)
 IF(WIN32)
   IF(NOT UNIX)

+ 12 - 0
CTestCustom.ctest.in

@@ -0,0 +1,12 @@
+SET(CTEST_CUSTOM_WARNING_EXCEPTION
+  ${CTEST_CUSTOM_WARNING_EXCEPTION}
+  "xtree.[0-9]+. : warning C4702: unreachable code"
+  "warning LNK4221"
+  "variable .var_args[2]*. is used before its value is set"
+  "jobserver unavailable"
+  "warning: \\(Long double usage is reported only once for each file"
+  "warning: To disable this warning use"
+  "could not be inlined"
+  )
+
+