diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-01-09 13:39:40 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-01-09 13:40:05 +0000 |
commit | caa1b7f37fd79f630ddf4634df786c012d214739 (patch) | |
tree | 6239dbdf79649a01641a9bf835ce7a175403446b /Jamroot.jam | |
parent | No need for local pkg-config.jam (diff) | |
download | mirrorsearch-caa1b7f37fd79f630ddf4634df786c012d214739.tar.bz2 mirrorsearch-caa1b7f37fd79f630ddf4634df786c012d214739.tar.xz mirrorsearch-caa1b7f37fd79f630ddf4634df786c012d214739.zip |
Modern build settings
Diffstat (limited to 'Jamroot.jam')
-rw-r--r-- | Jamroot.jam | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Jamroot.jam b/Jamroot.jam index 8293aeb..2208c1a 100644 --- a/Jamroot.jam +++ b/Jamroot.jam @@ -11,13 +11,13 @@ variant coverage : debug ; project : requirements <define>ICE_CPP11_MAPPING - <cxxflags>"-std=c++17 -fvisibility=hidden -fvisibility-inlines-hidden" + <cxxstd>17 + <visibility>hidden <linkflags>"-Wl,-z,defs,--warn-once,--gc-sections" - <variant>release:<cxxflags>"-flto=2" - <variant>release:<linkflags>"-flto=2" - <variant>debug:<cxxflags>"-W -Wall -Werror -Wextra" - <variant>coverage:<cxxflags>"--coverage" - <variant>coverage:<linkflags>"--coverage" + <variant>release:<lto>on + <variant>debug:<warnings>extra + <variant>debug:<warnings-as-errors>on + <variant>coverage:<coverage>on ; build-project service ; |