build: add code coverage support
authorPavel Šimerda <psimerda@redhat.com>
Wed, 19 Dec 2012 16:48:52 +0000 (17:48 +0100)
committerPavel Šimerda <psimerda@redhat.com>
Tue, 8 Jan 2013 12:30:56 +0000 (13:30 +0100)
commit998f4ccc88710e324c5e4cecc142c8aedf4d565c
treef172bfd276388f075ef09b4dbfb2674717135767
parent1d89bc0004ec27fbc0c89f17861118c78d7eeab5
build: add code coverage support

Use the following in Makefile.am to enable code coverage for individual modules:

@GNOME_CODE_COVERAGE_RULES@
my_program_LIBS = … $(CODE_COVERAGE_LDFLAGS) …
my_program_CFLAGS = … $(CODE_COVERAGE_CFLAGS) …
configure.ac
m4/gnome-code-coverage.m4 [new file with mode: 0644]