summaryrefslogtreecommitdiff
path: root/Jamroot.jam
diff options
context:
space:
mode:
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 d92540b..ce7995c 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 ;
@@ -20,43 +22,6 @@ project
build-project project2 ;
-# 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 ;