BUG: Exclude try_compile sources and kwsys files from CMake coverage results.

This commit is contained in:
David Cole 2008-02-25 10:17:17 -05:00
parent 9211b0d234
commit cba1ad5603
1 changed files with 11 additions and 0 deletions

View File

@ -39,3 +39,14 @@ IF(NOT "@CMAKE_GENERATOR@" MATCHES "KDevelop")
"Kdevelop" "Kdevelop"
) )
ENDIF (NOT "@CMAKE_GENERATOR@" MATCHES "KDevelop") ENDIF (NOT "@CMAKE_GENERATOR@" MATCHES "KDevelop")
SET(CTEST_CUSTOM_COVERAGE_EXCLUDE
${CTEST_CUSTOM_COVERAGE_EXCLUDE}
# Exclude kwsys files from coverage results. They are reported
# (with better coverage results) on kwsys dashboards...
"/Source/(cm|kw)sys/"
# Exclude try_compile sources from coverage results:
"/CMakeFiles/CMakeTmp/"
)