From 35770436bfeff683b632980627d285215640b43f 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