summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2019-10-21 19:00:52 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2019-10-21 19:00:52 +0100
commit49cb1f1a92237b9c05e7554bcbf8f9c34aa0a38f (patch)
tree5551046b0bb4d9ceacd613817ecb8bb944118d7a
parentTemplate and inline case_less strncasecmp wrapper (diff)
downloadslicer-1.9.3.tar.bz2
slicer-1.9.3.tar.xz
slicer-1.9.3.zip
Modernize coverage flagsslicer-1.9.3
-rw-r--r--Jamroot.jam3
-rw-r--r--slicer/tool/slice/Jamroot.jam1
2 files changed, 2 insertions, 2 deletions
diff --git a/Jamroot.jam b/Jamroot.jam
index 2f0a11b..c332369 100644
--- a/Jamroot.jam
+++ b/Jamroot.jam
@@ -19,8 +19,7 @@ project
<toolset>gcc:<variant>release:<linkflags>"-flto=2"
<variant>debug:<warnings>extra
<variant>debug:<warnings-as-errors>on
- <variant>coverage:<cxxflags>"--coverage"
- <variant>coverage:<linkflags>"--coverage"
+ <variant>coverage:<coverage>on
<toolset>tidy:<checkxx>boost-*
<toolset>tidy:<checkxx>bugprone-*
<toolset>tidy:<checkxx>clang-*
diff --git a/slicer/tool/slice/Jamroot.jam b/slicer/tool/slice/Jamroot.jam
index fbfd43c..612cdf0 100644
--- a/slicer/tool/slice/Jamroot.jam
+++ b/slicer/tool/slice/Jamroot.jam
@@ -6,6 +6,7 @@ project ice :
<warnings>off
<include>$(ice)/cpp/src
<toolset>tidy:<checker>none
+ <coverage>off
;
obj Parser : $(ice)/cpp/src/Slice/Parser.cpp ;