From 4b4a2a0b444d26303df7865cebb56bf942c6d022 Mon Sep 17 00:00:00 2001 From: Allan LeSage Date: Tue, 6 Dec 2011 18:43:35 -0600 Subject: Added coverage reporting via gcov config and targets. --- configure.ac | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 07f52d7..6b01de7 100644 --- a/configure.ac +++ b/configure.ac @@ -118,6 +118,16 @@ PKG_CHECK_MODULES(LIBMAP, gio-2.0 >= $GIO_REQUIRED_VERSION GLIB_GSETTINGS +########################### +# gcov coverage reporting +########################### + +m4_include([m4/gcov.m4]) +AC_TDD_GCOV +AC_SUBST(COVERAGE_CFLAGS) +AC_SUBST(COVERAGE_CXXFLAGS) +AC_SUBST(COVERAGE_LDFLAGS) + ########################### # Check to see if we're local ########################### @@ -225,4 +235,5 @@ Date and Time Indicator Configuration: Prefix: $prefix Indicator Dir: $INDICATORDIR CC Panel Dir: $CCPANELDIR + gcov: $use_gcov ]) -- cgit v1.2.3