summaryrefslogtreecommitdiff
path: root/Jamroot.jam
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2020-12-30 13:36:54 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2020-12-30 13:36:54 +0000
commit11e37925501ea2999597ba388bae62b01010cc05 (patch)
tree7c0e95240967b834c282d7c2ebd4745d12ec2220 /Jamroot.jam
parentMove testing import to root (diff)
downloadgentoobrowse-api-11e37925501ea2999597ba388bae62b01010cc05.tar.bz2
gentoobrowse-api-11e37925501ea2999597ba388bae62b01010cc05.tar.xz
gentoobrowse-api-11e37925501ea2999597ba388bae62b01010cc05.zip
Build config with boost-build pkg-config support
Diffstat (limited to 'Jamroot.jam')
-rw-r--r--Jamroot.jam15
1 files changed, 4 insertions, 11 deletions
diff --git a/Jamroot.jam b/Jamroot.jam
index 315c5c6..3b7d75a 100644
--- a/Jamroot.jam
+++ b/Jamroot.jam
@@ -3,6 +3,8 @@ import slice ;
import testing ;
using gcc : : [ os.environ CXX ] ;
+using pkg-config ;
+import pkg-config ;
variant coverage : debug ;
@@ -21,15 +23,6 @@ project
build-project gentoobrowse-api ;
-# Some useful aliases
-
-alias libxmlpp : : : :
- <cxxflags>"`pkg-config libxml++-3.0 --cflags`"
- <linkflags>"`pkg-config libxml++-3.0 --libs`"
- ;
-
-alias glibmm : : : :
- <cxxflags>"`pkg-config glibmm-2.4 --cflags`"
- <linkflags>"`pkg-config glibmm-2.4 --libs`"
- ;
+pkg-config.import libxmlpp : : <name>libxml++-3.0 ;
+pkg-config.import glibmm : : <name>glibmm-2.4 ;