You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
485 B

5 years ago
set(CMAKE_BUILD_TYPE Debug)
5 years ago
include(cmake/3rdparty/CodeCoverage.cmake)
5 years ago
append_coverage_compiler_flags()
5 years ago
5 years ago
set(COVERAGE_LCOV_EXCLUDES
5 years ago
'${CMAKE_SOURCE_DIR}/deps/*'
'${CMAKE_SOURCE_DIR}/build/*'
'${CMAKE_SOURCE_DIR}/cmake-build-debug/*'
5 years ago
)
5 years ago
set(COVERAGE_GCOVR_EXCLUDES ${COVERAGE_LCOV_EXCLUDES})
5 years ago
setup_target_for_coverage_gcovr_xml(
5 years ago
NAME ctest_coverage
5 years ago
EXECUTABLE ctest
)
setup_target_for_coverage_gcovr_html(
5 years ago
NAME ctest_coverage_html
5 years ago
EXECUTABLE ctest
)