summaryrefslogtreecommitdiff
path: root/Jamroot.jam
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2019-06-29 14:29:04 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2019-06-29 14:29:50 +0100
commite8e2261801c9f2573f6f84138a8f8619a9ab7b16 (patch)
treea3381835e1ca78df0e798121a8571faaf79a6bc7 /Jamroot.jam
parentTidy fixes for latest clang (diff)
downloadslicer-e8e2261801c9f2573f6f84138a8f8619a9ab7b16.tar.bz2
slicer-e8e2261801c9f2573f6f84138a8f8619a9ab7b16.tar.xz
slicer-e8e2261801c9f2573f6f84138a8f8619a9ab7b16.zip
Get glibmm and xml++ flags from pkg-config
Borrows pkg-config.jam from future boost-build
Diffstat (limited to 'Jamroot.jam')
-rw-r--r--Jamroot.jam43
1 files changed, 4 insertions, 39 deletions
diff --git a/Jamroot.jam b/Jamroot.jam
index 38ee232..d1446d2 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 ;
@@ -28,43 +30,6 @@ project
build-project slicer ;
-# 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
- ;
-
-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 libxmlpp : : <name>libxml++-3.0 ;
+pkg-config.import glibmm : : <name>glibmm-2.4 ;