From 97b6334adcf53bf361decc200a2dfe4789b462f5 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 3 Oct 2019 19:05:09 +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 1998ea7..46fe187 100644 --- a/Jamroot.jam +++ b/Jamroot.jam @@ -10,20 +10,22 @@ variant coverage : debug ; project : requirements ICE_CPP11_MAPPING - "-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:"--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:cppcoreguidelines-* tidy:hicpp-* tidy:hicpp-vararg -- cgit v1.2.3