diff options
Diffstat (limited to 'Jamroot.jam')
-rw-r--r-- | Jamroot.jam | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Jamroot.jam b/Jamroot.jam index f235af4..6886519 100644 --- a/Jamroot.jam +++ b/Jamroot.jam @@ -8,16 +8,18 @@ variant coverage : debug ; project : requirements - <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>debug:<warnings>extra + <variant>debug:<warnings-as-errors>on + <variant>coverage:<coverage>on ; build-project libmysqlpp ; pkg-config.import glibmm : : <name>glibmm-2.4 ; +pkg-config.import mysqlclient ; |