Skip to content
Snippets Groups Projects
Commit 7308cb1a authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Improve genhtml configuration to produce better coverage reports

parent f85684c2
No related branches found
No related tags found
1 merge request!37Feature/language
......@@ -320,7 +320,7 @@ if("${CMAKE_BUILD_TYPE}" STREQUAL "Coverage")
ALL
COMMAND ${CMAKE_COMMAND} -E remove_directory "${PUGS_BINARY_DIR}/coverage"
COMMAND ${CMAKE_COMMAND} -E make_directory "${PUGS_BINARY_DIR}/coverage"
COMMAND ${GENHTML} -q -o coverage -t "${CMAKE_PROJECT_NAME} test coverage" --ignore-errors source --legend --num-spaces 4 coverage.info
COMMAND ${GENHTML} --demangle-cpp -q -o coverage -t "${CMAKE_PROJECT_NAME} test coverage" --ignore-errors source --legend --num-spaces 2 coverage.info
DEPENDS coverage
COMMENT "Building coverage html report."
WORKING_DIRECTORY "${PUGS_BINARY_DIR}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment