From 53522bff955c63e85a507262b85bc7933c1e803d Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sat, 26 Oct 2019 06:22:53 -0500 Subject: Build: Exclude Boost from code coverage tests --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 395c70b..64904db 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -79,7 +79,7 @@ IF(COVERAGE) IF(LCOV_EXECUTABLE) add_custom_command(OUTPUT horizon.coverage - COMMAND lcov ARGS --exclude '/usr/include/c++/*' --exclude '*/3rdparty/*' --capture --directory ${CMAKE_BINARY_DIR} --output-file horizon.coverage) + COMMAND lcov ARGS --exclude '/usr/include/boost/*' --exclude '/usr/include/c++/*' --exclude '*/3rdparty/*' --capture --directory ${CMAKE_BINARY_DIR} --output-file horizon.coverage) add_custom_target(lcov_report DEPENDS horizon.coverage) add_custom_command(OUTPUT cov_html COMMAND genhtml ARGS horizon.coverage --output-directory cov_html) -- cgit v1.2.3-60-g2f50