summaryrefslogtreecommitdiff
path: root/Jamroot.jam
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2019-06-27 00:30:28 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2019-06-28 20:41:28 +0100
commitee5a38e3453a84ea8a7bffe797d48b22abf14cd9 (patch)
tree41c0de0194cb09e62e59ddb1ab86e9d1d61483f5 /Jamroot.jam
parentDon't default destructor (diff)
downloadlibadhocutil-ee5a38e3453a84ea8a7bffe797d48b22abf14cd9.tar.bz2
libadhocutil-ee5a38e3453a84ea8a7bffe797d48b22abf14cd9.tar.xz
libadhocutil-ee5a38e3453a84ea8a7bffe797d48b22abf14cd9.zip
Get glibmm flags from pkg-config
Borrows pkg-config.jam from future boost-build
Diffstat (limited to 'Jamroot.jam')
-rw-r--r--Jamroot.jam22
1 files changed, 3 insertions, 19 deletions
diff --git a/Jamroot.jam b/Jamroot.jam
index 0f2097c..1998ea7 100644
--- a/Jamroot.jam
+++ b/Jamroot.jam
@@ -2,6 +2,8 @@ import os ;
import slice ;
using gcc : : [ os.environ CXX ] ;
+using pkg-config ;
+import pkg-config ;
variant coverage : debug ;
@@ -31,23 +33,5 @@ project
build-project libadhocutil ;
-# 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 ;