Skip to content
Snippets Groups Projects

Debug build

Merged Daniel Hornung requested to merge f-debug-build into f-release-0.1
All threads resolved!
Compare and
23 files
+ 129
100
Compare changes
  • Side-by-side
  • Inline
Files
23
+ 12
0
@@ -136,6 +136,18 @@
include(CMakeParseArguments)
option(CODE_COVERAGE_VERBOSE "Verbose information" FALSE)
option(SKIP_CODE_COVERAGE "Skip code coverage" OFF)
if (SKIP_CODE_COVERAGE)
return()
endif()
find_library(covlib NAMES gcov lcov)
message(STATUS "covlib: >${covlib}<")
if (${covlib} STREQUAL "covlib-NOTFOUND")
message(STATUS "lcov or gcov libraries not found, skipping code coverage.")
return()
endif()
# Check prereqs
find_program( GCOV_PATH gcov )
Loading