From d92963f318a3972cd486fc1e510e08372c43d8eb Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 13 Oct 2019 13:20:33 +0100 Subject: Modernize build --- Jamroot.jam | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'Jamroot.jam') diff --git a/Jamroot.jam b/Jamroot.jam index 8310ae5..824be0e 100644 --- a/Jamroot.jam +++ b/Jamroot.jam @@ -8,20 +8,23 @@ 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:"--coverage" - coverage:"--coverage" + debug:extra + debug:on + coverage:on tidy:boost-* tidy:bugprone-* tidy:clang-* + tidy:clang-analyzer-optin.cplusplus.VirtualCall tidy:misc-* tidy:modernize-* + tidy:modernize-use-trailing-return-type tidy:hicpp-* tidy:performance-* ; @@ -32,5 +35,5 @@ pkg-config.import glibmm : : glibmm-2.4 ; pkg-config.import pq : : libpq ; pkg-config.import odbc ; pkg-config.import sqlite3 ; -lib mysqlclient : : : : /usr/include/mysql ; +pkg-config.import mysqlclient ; -- cgit v1.2.3