From ab939dee7338a78f41e6b69dcd4bef0f12301ae8 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 27 Oct 2019 00:20:29 +0100 Subject: Modernize build --- Jamroot.jam | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Jamroot.jam b/Jamroot.jam index 8f0e94b..14cdfec 100644 --- a/Jamroot.jam +++ b/Jamroot.jam @@ -10,20 +10,23 @@ variant coverage : debug ; project : requirements ICE_CPP11_MAPPING - "-std=c++17 -fvisibility=hidden" + 17 + hidden "-Wl,-z,defs,--warn-once,--gc-sections" release:"-flto" release:"-flto" - debug:"-W -Wall -Werror -Wextra" - coverage:"--coverage" - coverage:"--coverage" + debug:extra + debug:on + coverage:on coverage:COVERAGE tidy:boost-* tidy:bugprone-* tidy:clang-* tidy:misc-* tidy:modernize-* + tidy:modernize-use-trailing-return-type tidy:hicpp-* + tidy:hicpp-signed-bitwise tidy:performance-* ; -- cgit v1.2.3