diff options
author | Daniel Stenberg <daniel@haxx.se> | 2017-06-02 00:59:35 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-06-02 13:15:06 +0200 |
commit | f6e0f4556eabc8c2629d16ae599a153392d30d05 (patch) | |
tree | 1e2086e73968ef6ca8558b919b014e731860db09 /src/Makefile.am | |
parent | efc7c1d86f1543870712d1a0ef4eecd67e933921 (diff) | |
download | curl-f6e0f4556eabc8c2629d16ae599a153392d30d05.tar.gz |
build: provide easy code coverage measuring
Closes #1528
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index afc86f2e1..950a7ba22 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -71,6 +71,10 @@ endif curl_LDFLAGS = @LIBMETALINK_LDFLAGS@ curl_CPPFLAGS = $(AM_CPPFLAGS) $(LIBMETALINK_CPPFLAGS) +@CODE_COVERAGE_RULES@ +curl_LDFLAGS += $(CODE_COVERAGE_LDFLAGS) +CFLAGS += $(CODE_COVERAGE_CFLAGS) + # if unit tests are enabled, build a static library to link them with if BUILD_UNITTESTS noinst_LTLIBRARIES = libcurltool.la |