From 6df49b45f5e905a4ec9114e7a6cbe484ded798ed Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 19 Oct 2019 15:38:11 +0100 Subject: Refactor to ease testing --- libsqlitepp/Jamfile.jam | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) (limited to 'libsqlitepp') diff --git a/libsqlitepp/Jamfile.jam b/libsqlitepp/Jamfile.jam index 3dbe005..ca5f886 100644 --- a/libsqlitepp/Jamfile.jam +++ b/libsqlitepp/Jamfile.jam @@ -1,22 +1,40 @@ import package ; +import pkg-config ; lib adhocutil : : : : /usr/include/adhocutil ; lib dbppcore : : : : /usr/include/dbpp ; lib boost_date_time ; lib stdc++fs ; +pkg-config.import glibmm : : glibmm-2.4 ; +pkg-config.import sqlite3 : : sqlite3 ; + +project + : requirements + 17 + hidden + "-Wl,-z,defs,--warn-once,--gc-sections" + release:"-flto=2" + release:"-flto=2" + debug:extra + debug:on + coverage:on + ; + lib dbpp-sqlite : [ glob *.cpp ] : - ..//glibmm - ..//sqlite3 + glibmm + sqlite3 adhocutil - dbppcore + yes:../..//dbppcore + no:dbppcore boost_date_time stdc++fs : : . - ..//glibmm - dbppcore + glibmm + yes:../..//dbppcore + no:dbppcore ; build-project unittests ; -- cgit v1.2.3