From 7cb6ff4cdc14e1e68ff1935dcc3a99896e1322b6 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 12 Oct 2019 11:29:44 +0100 Subject: Modernize build --- Jamroot.jam | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'Jamroot.jam') diff --git a/Jamroot.jam b/Jamroot.jam index ae4fd28..0f48299 100644 --- a/Jamroot.jam +++ b/Jamroot.jam @@ -8,20 +8,22 @@ variant coverage : debug ; project : requirements - "-std=c++17 -fvisibility=hidden -fvisibility-inlines-hidden" + 17 + hidden "-Wl,-z,defs,--warn-once,--gc-sections" release:"-flto" gcc:release:"-flto=2" release:"-flto" gcc:release:"-flto=2" - debug:"-W -Wall -Werror -Wextra" - coverage:"-W -Wall -Werror -Wextra -std=c++1y --coverage" - coverage:"--coverage" + debug:extra + debug:on + coverage:on tidy:boost-* tidy:bugprone-* tidy:clang-* tidy:misc-* tidy:modernize-* + tidy:modernize-use-trailing-return-type tidy:hicpp-* tidy:performance-* ; -- cgit v1.2.3