diff --git a/scripts/cmake/Coverage.cmake b/scripts/cmake/Coverage.cmake index 2fd9f9274dc8fce85784e4fd379cc8a5421cfaa2..088cead844ba120711a90c25e48fc5e75131daa2 100644 --- a/scripts/cmake/Coverage.cmake +++ b/scripts/cmake/Coverage.cmake @@ -34,3 +34,7 @@ if(Python_EXECUTABLE) else() message(STATUS "No cobertura coverage report generated because Python executable was not found.") endif() + +if(UNIX) + add_custom_target(clean_coverage find . -name '*.gcda' -delete) +endif()