diff options
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 12accf7..f274671 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -90,7 +90,7 @@ IF(COVERAGE) IF(LCOV_EXECUTABLE) add_custom_command(OUTPUT horizon.coverage - COMMAND lcov ARGS --exclude '/usr/include/boost/*' --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/*' --rc lcov_branch_coverage=1 --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) |