diff --git a/CMakeLists.txt b/CMakeLists.txt index 73ee215487da31e2ca04a3858aaf253023ad5d33..ca49d2a4cefd6a177c6b9c35b8e0f7e9ca79532d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -216,7 +216,7 @@ if("${CMAKE_BUILD_TYPE}" STREQUAL "Coverage") add_custom_target(coverage ALL - COMMAND ${GCOVR} ${GCOVR_OPTIONS} + COMMAND ${GCOVR} ${GCOVR_OPTIONS} --exclude-unreachable-branches --sort-percentage DEPENDS run_unit_tests COMMENT "Running gcovr to build coverage report." )