build FEATURE provide locally generated code coverage report
adds build target coverage to generate code coverage report
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0ad549c..656015a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -30,9 +30,11 @@
if((CMAKE_BUILD_TYPE STREQUAL debug) OR (CMAKE_BUILD_TYPE STREQUAL Package))
option(ENABLE_BUILD_TESTS "Build tests" ON)
option(ENABLE_VALGRIND_TESTS "Build tests with valgrind" ON)
+ option(ENABLE_COVERAGE "Build code coverage report from tests" ON)
else()
option(ENABLE_BUILD_TESTS "Build tests" OFF)
option(ENABLE_VALGRIND_TESTS "Build tests with valgrind" OFF)
+ option(ENABLE_COVERAGE "Build code coverage report from tests" OFF)
endif()
#option(ENABLE_CALLGRIND_TESTS "Build performance tests to be run with callgrind" OFF)