|
|
@ -11,7 +11,7 @@ if(BUILD_WITH_COVERAGE)
|
|
|
|
file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/coverage_output )
|
|
|
|
file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/coverage_output )
|
|
|
|
add_custom_command(OUTPUT _run_gcovr_parser
|
|
|
|
add_custom_command(OUTPUT _run_gcovr_parser
|
|
|
|
POST_BUILD
|
|
|
|
POST_BUILD
|
|
|
|
COMMAND ${GCOVR} --root ${CMAKE_SOURCE_DIR} --object-dir=${CMAKE_BINARY_DIR} --html --html-details -o coverage_output/coverage.html
|
|
|
|
COMMAND ${GCOVR} --root ${PROJECT_SOURCE_DIR} --object-dir=${CMAKE_BINARY_DIR} --html --html-details -o coverage_output/coverage.html
|
|
|
|
--exclude-directories xmpsdk --exclude-directories unitTests --exclude-directories samples
|
|
|
|
--exclude-directories xmpsdk --exclude-directories unitTests --exclude-directories samples
|
|
|
|
--exclude '.*xmpsdk.*' --exclude '.*unitTests.*' --exclude '.*samples.*'
|
|
|
|
--exclude '.*xmpsdk.*' --exclude '.*unitTests.*' --exclude '.*samples.*'
|
|
|
|
--exclude-unreachable-branches --exclude-throw-branches
|
|
|
|
--exclude-unreachable-branches --exclude-throw-branches
|
|
|
|