summaryrefslogtreecommitdiff
path: root/Jamroot.jam
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2019-10-19 15:38:00 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2019-10-19 15:38:00 +0100
commit43705039aac98e4b8065353da3f828d894dd6f00 (patch)
tree3a65a0ed58335ef1ec99c6efc162929dff789793 /Jamroot.jam
parentModernize build (diff)
downloadlibdbpp-postgresql-43705039aac98e4b8065353da3f828d894dd6f00.tar.bz2
libdbpp-postgresql-43705039aac98e4b8065353da3f828d894dd6f00.tar.xz
libdbpp-postgresql-43705039aac98e4b8065353da3f828d894dd6f00.zip
Refactor to ease testing
Diffstat (limited to 'Jamroot.jam')
-rw-r--r--Jamroot.jam17
1 files changed, 2 insertions, 15 deletions
diff --git a/Jamroot.jam b/Jamroot.jam
index 9076293..5c09de9 100644
--- a/Jamroot.jam
+++ b/Jamroot.jam
@@ -1,25 +1,12 @@
import os ;
+import feature : feature ;
using gcc : : [ os.environ CXX ] ;
using pkg-config ;
-import pkg-config ;
variant coverage : debug ;
-project
- : requirements
- <cxxstd>17
- <visibility>hidden
- <linkflags>"-Wl,-z,defs,--warn-once,--gc-sections"
- <variant>release:<cxxflags>"-flto=2"
- <variant>release:<linkflags>"-flto=2"
- <variant>debug:<warnings>extra
- <variant>debug:<warnings-as-errors>on
- <variant>coverage:<coverage>on
- ;
+feature local-dbppcore : no ;
build-project libpqpp ;
-pkg-config.import glibmm : : <name>glibmm-2.4 ;
-pkg-config.import pq : : <name>libpq ;
-