third-party library dependencies

Stefan Seefeld via Boost-build <[email protected]>
Newsgroups gmane.comp.lib.boost.build
Message-ID <[email protected]>
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...

_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.