summaryrefslogtreecommitdiff
path: root/Jamroot.jam
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2019-06-30 12:50:17 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2019-06-30 12:50:17 +0100
commit49262fee17573d8d0accfab8a2cf14cbbc84b2dc (patch)
tree3e5036e2f4cc12c36a2ea7ecbbade5c4d3a0419a /Jamroot.jam
parentTidy fixes for latest clang (diff)
downloadlibdbpp-sqlite-1.4.1.1.tar.bz2
libdbpp-sqlite-1.4.1.1.tar.xz
libdbpp-sqlite-1.4.1.1.zip
Get glibmm and sqlite3 flags from pkg-configlibdbpp-sqlite-1.4.1.1
Diffstat (limited to 'Jamroot.jam')
-rw-r--r--Jamroot.jam23
1 files changed, 4 insertions, 19 deletions
diff --git a/Jamroot.jam b/Jamroot.jam
index be6d230..e966f24 100644
--- a/Jamroot.jam
+++ b/Jamroot.jam
@@ -1,6 +1,8 @@
import os ;
using gcc : : [ os.environ CXX ] ;
+using pkg-config ;
+import pkg-config ;
variant coverage : debug ;
@@ -17,23 +19,6 @@ project
build-project libsqlitepp ;
-# Some useful aliases
-
-lib glibmm-2.4 ;
-lib gobject-2.0 ;
-lib glib-2.0 ;
-lib sigc-2.0 ;
-
-alias glibmm : : : :
- <include>/usr/include/glibmm-2.4
- <include>/usr/lib/glibmm-2.4/include
- <include>/usr/include/glib-2.0
- <include>/usr/lib/glib-2.0/include
- <include>/usr/include/sigc++-2.0
- <include>/usr/lib/sigc++-2.0/include
- <library>glibmm-2.4
- <library>gobject-2.0
- <library>glib-2.0
- <library>sigc-2.0
- ;
+pkg-config.import glibmm : : <name>glibmm-2.4 ;
+pkg-config.import sqlite3 : : <name>sqlite3 ;