From 2337827a55a44e9a1ef4bbc272c11ef26e79d47c Mon Sep 17 00:00:00 2001 From: Lars Bilke <lars.bilke@ufz.de> Date: Tue, 12 Feb 2019 09:09:25 +0100 Subject: [PATCH] [CMake] Added clean_coverage target. --- scripts/cmake/Coverage.cmake | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/cmake/Coverage.cmake b/scripts/cmake/Coverage.cmake index ec425ad40e0..d68a40edb73 100644 --- a/scripts/cmake/Coverage.cmake +++ b/scripts/cmake/Coverage.cmake @@ -45,3 +45,7 @@ setup_target_for_coverage_fastcov( Applications/CLI/ Tests/ ) + +if(UNIX) + add_custom_target(clean_coverage find . -name '*.gcda' -delete) +endif() -- GitLab