From bdd62c01bf99b54d5d64229e53fa09f39f8a8fb3 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 12 Sep 2015 02:29:23 +0100 Subject: Add a code coverage profile --- Jamroot.jam | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Jamroot.jam b/Jamroot.jam index a5c799f..c838f50 100644 --- a/Jamroot.jam +++ b/Jamroot.jam @@ -4,6 +4,7 @@ import slice ; using gcc : : [ os.environ CXX ] ; variant component ; +variant coverage : debug ; project : requirements @@ -11,6 +12,8 @@ project release:"-Wl,-z,defs,--warn-once" debug:"-W -Wall -Werror -Wwrite-strings -std=c++1y" debug:"-Wl,-z,defs,--warn-once" + coverage:"-W -Wall -Werror -Wwrite-strings -std=c++1y --coverage" + coverage:"-Wl,-z,defs,--warn-once --coverage" component:"-W -Wall -Werror -Wwrite-strings -std=c++1y -fPIC" component:"-Wl,-z,lazy,--warn-once,-fPIC" ; -- cgit v1.2.3