summaryrefslogtreecommitdiff
path: root/Jamroot.jam
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2019-06-09 11:31:54 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2019-06-09 11:35:45 +0100
commit5c24cf5ecb2a423826d77c7ec3e2dc3d5e93c7ea (patch)
tree08c64301e9a4957eb0feac5ed6e72011dcf4baeb /Jamroot.jam
parentAdd missing include guard (diff)
downloadgentoobrowse-api-5c24cf5ecb2a423826d77c7ec3e2dc3d5e93c7ea.tar.bz2
gentoobrowse-api-5c24cf5ecb2a423826d77c7ec3e2dc3d5e93c7ea.tar.xz
gentoobrowse-api-5c24cf5ecb2a423826d77c7ec3e2dc3d5e93c7ea.zip
Get glibmm and libxml++ flags from pkg-config
Diffstat (limited to 'Jamroot.jam')
-rw-r--r--Jamroot.jam36
1 files changed, 4 insertions, 32 deletions
diff --git a/Jamroot.jam b/Jamroot.jam
index d3bb409..562dcd2 100644
--- a/Jamroot.jam
+++ b/Jamroot.jam
@@ -21,41 +21,13 @@ build-project gentoobrowse-api ;
# Some useful aliases
-lib xml++-3.0 ;
-lib xml2 ;
-lib glibmm-2.4 ;
-lib gobject-2.0 ;
-lib glib-2.0 ;
-lib sigc-2.0 ;
-
alias libxmlpp : : : :
- <include>/usr/include/libxml++-3.0
- <include>/usr/lib/libxml++-3.0/include
- <include>/usr/include/libxml2
- <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>xml++-3.0
- <library>xml2
- <library>glibmm-2.4
- <library>gobject-2.0
- <library>glib-2.0
- <library>sigc-2.0
+ <cxxflags>"`pkg-config libxml++-3.0 --cflags`"
+ <linkflags>"`pkg-config libxml++-3.0 --libs`"
;
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
+ <cxxflags>"`pkg-config glibmm-2.4 --cflags`"
+ <linkflags>"`pkg-config glibmm-2.4 --libs`"
;