diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-09-12 02:29:23 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-09-12 16:46:41 +0100 |
commit | e6074c4819f9f25ba5043fa6a5d455698375a326 (patch) | |
tree | 8bac6a5860ad251c5a174e2df78c7cc465e1f258 /Jamroot.jam | |
parent | Add libadhocutil to the default build (diff) | |
download | libdbpp-odbc-e6074c4819f9f25ba5043fa6a5d455698375a326.tar.bz2 libdbpp-odbc-e6074c4819f9f25ba5043fa6a5d455698375a326.tar.xz libdbpp-odbc-e6074c4819f9f25ba5043fa6a5d455698375a326.zip |
Add a code coverage profile
Diffstat (limited to 'Jamroot.jam')
-rw-r--r-- | Jamroot.jam | 3 |
1 files changed, 3 insertions, 0 deletions
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 <variant>release:<linkflags>"-Wl,-z,defs,--warn-once" <variant>debug:<cflags>"-W -Wall -Werror -Wwrite-strings -std=c++1y" <variant>debug:<linkflags>"-Wl,-z,defs,--warn-once" + <variant>coverage:<cflags>"-W -Wall -Werror -Wwrite-strings -std=c++1y --coverage" + <variant>coverage:<linkflags>"-Wl,-z,defs,--warn-once --coverage" <variant>component:<cflags>"-W -Wall -Werror -Wwrite-strings -std=c++1y -fPIC" <variant>component:<linkflags>"-Wl,-z,lazy,--warn-once,-fPIC" ; |