summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2004-11-10 18:15:49 (GMT)
committerKen Martin <ken.martin@kitware.com>2004-11-10 18:15:49 (GMT)
commit6257ca30a593221f7628e48e1ce067b2dc838be3 (patch)
treec94aa4ee7924bbc0a0f0a1ace34a5e9e17c126ee
parent1cbec80de998bf32ef28000252b914464e64d9d4 (diff)
downloadCMake-6257ca30a593221f7628e48e1ce067b2dc838be3.zip
CMake-6257ca30a593221f7628e48e1ce067b2dc838be3.tar.gz
CMake-6257ca30a593221f7628e48e1ce067b2dc838be3.tar.bz2
ENH: added custom supp for cmake
-rw-r--r--CMakeLists.txt3
-rw-r--r--CTestCustom.ctest.in12
2 files changed, 15 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1cd435a..de7326f 100644
--- a/CMakeLists.txt
+++ b/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)
diff --git a/CTestCustom.ctest.in b/CTestCustom.ctest.in
new file mode 100644
index 0000000..dfa2415
--- /dev/null
+++ b/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"
+ )
+
+