diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2018-04-17 19:15:08 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2018-04-17 19:15:08 +0100 |
commit | a802c57549d0111292eec1b9c0df86377efcf491 (patch) | |
tree | edfe997bfe5d97c84e9ebb555001b9db28eac4b4 /Jamroot.jam | |
parent | Standalone split (diff) | |
download | libdbpp-sqlite-1.2.0.tar.bz2 libdbpp-sqlite-1.2.0.tar.xz libdbpp-sqlite-1.2.0.zip |
C++17libdbpp-sqlite-1.2.0
Updates code largely in-keeping with updates to be C++17 in line with
libadhocutil and libdbpp.
Diffstat (limited to 'Jamroot.jam')
-rw-r--r-- | Jamroot.jam | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/Jamroot.jam b/Jamroot.jam index 61ca176..be6d230 100644 --- a/Jamroot.jam +++ b/Jamroot.jam @@ -6,12 +6,13 @@ variant coverage : debug ; project : requirements - <variant>release:<cxxflags>"-std=c++1y -fvisibility=hidden" - <variant>release:<linkflags>"-Wl,-z,defs,--warn-once,--gc-sections" - <variant>debug:<cxxflags>"-W -Wall -Werror -Wwrite-strings -std=c++1y -fvisibility=hidden" - <variant>debug:<linkflags>"-Wl,-z,defs,--warn-once" - <variant>coverage:<cxxflags>"-W -Wall -Werror -Wwrite-strings -std=c++1y --coverage -fvisibility=hidden" - <variant>coverage:<linkflags>"-Wl,-z,defs,--warn-once --coverage" + <cxxflags>"-std=c++17 -fvisibility=hidden -fvisibility-inlines-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" ; build-project libsqlitepp ; |