From 1c51fdeca7c63a0ce5becea670b1fcc70ece958c Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 5 Jul 2019 22:27:08 +0100 Subject: Get glibmm and libxml++ flags from pkg-config --- Jamroot.jam | 43 ++++--------------------------------------- 1 file changed, 4 insertions(+), 39 deletions(-) (limited to 'Jamroot.jam') diff --git a/Jamroot.jam b/Jamroot.jam index 36fe9c6..025bfd5 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 ; @@ -19,43 +21,6 @@ project build-project gentoobrowse ; -# 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 : : : : - /usr/include/libxml++-3.0 - /usr/lib/libxml++-3.0/include - /usr/include/libxml2 - /usr/include/glibmm-2.4 - /usr/lib/glibmm-2.4/include - /usr/include/glib-2.0 - /usr/lib/glib-2.0/include - /usr/include/sigc++-2.0 - /usr/lib/sigc++-2.0/include - xml++-3.0 - xml2 - glibmm-2.4 - gobject-2.0 - glib-2.0 - sigc-2.0 - ; - -alias glibmm : : : : - /usr/include/glibmm-2.4 - /usr/lib/glibmm-2.4/include - /usr/include/glib-2.0 - /usr/lib/glib-2.0/include - /usr/include/sigc++-2.0 - /usr/lib/sigc++-2.0/include - glibmm-2.4 - gobject-2.0 - glib-2.0 - sigc-2.0 - ; +pkg-config.import libxmlpp : : libxml++-3.0 ; +pkg-config.import glibmm : : glibmm-2.4 ; -- cgit v1.2.3