|
Boost-Build : |
Subject: [Boost-build] third-party library dependencies
From: Stefan Seefeld (stefan_at_[hidden])
Date: 2018-05-20 20:03:29
Hello,
I'm trying to add a few library dependencies to a (boost) project.
https://boostorg.github.io/build/tutorial.html#best_practices explains
how to add
lib xml : : <name>libxml <search>C:/lib : : <include>C:/include ;
 to a user-config.jam file, then use it from a Jamfile via
`<library>/user-config//xml`. This approach seems to require the
user-config.jam file to contain a call to `lib xml`. Is there a way to
make that optional (so a default `xml` target gets instantiated with
default paths, only to be overridden if any custom paths or requirements
are needed ? Or would that require an `xml` module to be created, as is
done for a few other third-party packages b2 has builtin support for
(zlib, libpng, etc.) ?
Thanks,
Stefan
-- ...ich hab' noch einen Koffer in Berlin...
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk