diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-11-07 20:16:57 -0600 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-11-07 20:16:57 -0600 |
commit | d1b9110c038ed1e8d1e1fe2c959377f0a43706a2 (patch) | |
tree | 57f5007f42c816057be2f7cbd1bb4021f45a6f66 | |
parent | 6e7e1448d623760230bbcd1ce520421cdfe3dce2 (diff) | |
download | horizon-d1b9110c038ed1e8d1e1fe2c959377f0a43706a2.tar.gz horizon-d1b9110c038ed1e8d1e1fe2c959377f0a43706a2.tar.bz2 horizon-d1b9110c038ed1e8d1e1fe2c959377f0a43706a2.tar.xz horizon-d1b9110c038ed1e8d1e1fe2c959377f0a43706a2.zip |
Build: ok, C++ branch coverage is a disaster
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 9626fde..12accf7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -90,10 +90,10 @@ IF(COVERAGE) IF(LCOV_EXECUTABLE) add_custom_command(OUTPUT 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) + 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 --rc lcov_branch_coverage=1 --output-directory cov_html) + COMMAND genhtml ARGS horizon.coverage --output-directory cov_html) add_custom_target(lcov_html DEPENDS cov_html) ENDIF(LCOV_EXECUTABLE) ENDIF(COVERAGE) |