diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2015-09-17 14:52:17 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-09-21 13:27:54 (GMT) |
commit | 71c67e83bfe65f449b69b610b5be71164e5eee64 (patch) | |
tree | 84aa974d5d3f32310ff96c0b106694d3fd17e068 /CTestCustom.cmake.in | |
parent | 936a95d4059ce3c57b79a1bf28dd4f2bdf26ba29 (diff) | |
download | CMake-71c67e83bfe65f449b69b610b5be71164e5eee64.zip CMake-71c67e83bfe65f449b69b610b5be71164e5eee64.tar.gz CMake-71c67e83bfe65f449b69b610b5be71164e5eee64.tar.bz2 |
CTEST_CUSTOM_*: treat variables as lists
Diffstat (limited to 'CTestCustom.cmake.in')
-rw-r--r-- | CTestCustom.cmake.in | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/CTestCustom.cmake.in b/CTestCustom.cmake.in index d3cff51..2adf317 100644 --- a/CTestCustom.cmake.in +++ b/CTestCustom.cmake.in @@ -1,9 +1,7 @@ -set(CTEST_CUSTOM_ERROR_MATCH - ${CTEST_CUSTOM_ERROR_MATCH} +list(APPEND CTEST_CUSTOM_ERROR_MATCH "ERROR:") -set(CTEST_CUSTOM_WARNING_EXCEPTION - ${CTEST_CUSTOM_WARNING_EXCEPTION} +list(APPEND CTEST_CUSTOM_WARNING_EXCEPTION "xtree.[0-9]+. : warning C4702: unreachable code" "warning LNK4221" "warning LNK4204" # Occurs by race condition with objects in small libs @@ -84,22 +82,18 @@ set(CTEST_CUSTOM_WARNING_EXCEPTION ) if(NOT "@CMAKE_GENERATOR@" MATCHES "Xcode") - set(CTEST_CUSTOM_COVERAGE_EXCLUDE - ${CTEST_CUSTOM_COVERAGE_EXCLUDE} + list(APPEND CTEST_CUSTOM_COVERAGE_EXCLUDE "XCode" ) endif () if(NOT "@CMAKE_GENERATOR@" MATCHES "KDevelop") - set(CTEST_CUSTOM_COVERAGE_EXCLUDE - ${CTEST_CUSTOM_COVERAGE_EXCLUDE} + list(APPEND CTEST_CUSTOM_COVERAGE_EXCLUDE "Kdevelop" ) endif () -set(CTEST_CUSTOM_COVERAGE_EXCLUDE - ${CTEST_CUSTOM_COVERAGE_EXCLUDE} - +list(APPEND CTEST_CUSTOM_COVERAGE_EXCLUDE # Exclude kwsys files from coverage results. They are reported # (with better coverage results) on kwsys dashboards... "/Source/(cm|kw)sys/" |