From a475ef8693217fcd075df8889a67133f2e7fb656 Mon Sep 17 00:00:00 2001 From: Martchus Date: Thu, 17 Aug 2017 17:59:08 +0200 Subject: [PATCH] Make creating overall test coverage depend on awk script --- cmake/modules/TestTarget.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/modules/TestTarget.cmake b/cmake/modules/TestTarget.cmake index 8517be4..3374974 100644 --- a/cmake/modules/TestTarget.cmake +++ b/cmake/modules/TestTarget.cmake @@ -242,7 +242,7 @@ if(CPP_UNIT_LIB OR META_NO_CPP_UNIT) -f "${OVERALL_COVERAGE_AKW_SCRIPT}" "${COVERAGE_REPORT_FILE}" > "${COVERAGE_OVERALL_REPORT_FILE}" COMMENT "Generating coverage report (overall figures)" - DEPENDS "${COVERAGE_REPORT_FILE}" + DEPENDS "${OVERALL_COVERAGE_AKW_SCRIPT}" "${COVERAGE_REPORT_FILE}" ) add_custom_target("${TARGET_PREFIX}${META_PROJECT_NAME}${TARGET_SUFFIX}_tests_coverage_overall_summary" DEPENDS "${COVERAGE_OVERALL_REPORT_FILE}"