summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-11-07 20:01:16 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-11-07 20:01:16 -0600
commit6e7e1448d623760230bbcd1ce520421cdfe3dce2 (patch)
tree3d3a00faf9fe590455c890ecac208de03845fe4f /CMakeLists.txt
parent1a85fb01ff64c7ea5005b1839cda241540d1e1b8 (diff)
downloadhorizon-6e7e1448d623760230bbcd1ce520421cdfe3dce2.tar.gz
horizon-6e7e1448d623760230bbcd1ce520421cdfe3dce2.tar.bz2
horizon-6e7e1448d623760230bbcd1ce520421cdfe3dce2.tar.xz
horizon-6e7e1448d623760230bbcd1ce520421cdfe3dce2.zip
Build: Display branch coverage results
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f274671..9626fde 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -93,7 +93,7 @@ IF(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)
+ COMMAND genhtml ARGS horizon.coverage --rc lcov_branch_coverage=1 --output-directory cov_html)
add_custom_target(lcov_html DEPENDS cov_html)
ENDIF(LCOV_EXECUTABLE)
ENDIF(COVERAGE)