[gtksourceview/code-coverage: 1/3] Enable code coverage only in gtksourceview/
- From: SÃbastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/code-coverage: 1/3] Enable code coverage only in gtksourceview/
- Date: Sun, 13 Jan 2013 16:17:23 +0000 (UTC)
commit 137d84bbeafce6e5426b00237672195dfaf2bb91
Author: SÃbastien Wilmet <swilmet gnome org>
Date: Sun Jan 13 16:43:57 2013 +0100
Enable code coverage only in gtksourceview/
configure.ac | 2 --
gtksourceview/Makefile.am | 4 ++++
2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 456b4f5..f4f68ea 100644
--- a/configure.ac
+++ b/configure.ac
@@ -137,8 +137,6 @@ GOBJECT_INTROSPECTION_CHECK([0.9.0])
# Code coverage
GNOME_CODE_COVERAGE
-CFLAGS="$CFLAGS $CODE_COVERAGE_CFLAGS"
-LDFLAGS="$LDFLAGS $CODE_COVERAGE_CFLAGS"
# test-widget uses this to find lang files and gtksourcebuffer.c
ABS_TOP_SRCDIR=`cd $srcdir && pwd`
diff --git a/gtksourceview/Makefile.am b/gtksourceview/Makefile.am
index d8bc0e1..f2eb96e 100644
--- a/gtksourceview/Makefile.am
+++ b/gtksourceview/Makefile.am
@@ -2,6 +2,8 @@ if ENABLE_PROVIDERS
SUBDIRS = completion-providers
endif
+ GNOME_CODE_COVERAGE_RULES@
+
INCLUDES = \
-DDATADIR=\""$(datadir)"\" \
-DG_LOG_DOMAIN=\"GtkSourceView\"\
@@ -117,6 +119,8 @@ completion_providers = \
libgtksourceview_3_0_la_LIBADD = $(DEP_LIBS) $(GTK_MAC_LIBS) $(completion_providers)
libgtksourceview_3_0_la_LDFLAGS = -no-undefined -export-symbols-regex "^gtk_source_.*"
+libgtksourceview_3_0_la_CFLAGS = $(CODE_COVERAGE_CFLAGS)
+libgtksourceview_3_0_la_LIBS = $(CODE_COVERAGE_LDFLAGS)
libgtksourceview_3_0_includedir = $(includedir)/gtksourceview-3.0/gtksourceview
libgtksourceview_3_0_include_HEADERS = \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]