From 9f3c1a0ba54384b3f4a363acf3364147db152187 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 19 Oct 2019 17:26:23 +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 7451996..7c80214 100644 --- a/Jamroot.jam +++ b/Jamroot.jam @@ -10,18 +10,20 @@ variant coverage : debug ; project : requirements ICE_CPP11_MAPPING - "-std=c++17 -fvisibility-inlines-hidden -fvisibility=hidden" + 17 + hidden "-Wl,-z,defs,--warn-once,--gc-sections" release:"-flto=2" release:"-flto=2" - debug:"-W -Wall -Wextra -Werror -Wwrite-strings" - coverage:"--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