From: Peter Simons (simons_at_[hidden])
Date: 2005-04-01 10:34:18
David Abrahams writes:
> How do I do it? Shouldn't this be prominently displayed
> early in the documentation?
In my "local copy" of the boost libraries, I have this
Jamfile.v2 file instead of the normal one:
| = <include>.
| project boost
| : requirements $(requires)
| : default-build <threading>multi
| : usage-requirements $(requires)
| libraries = [ glob libs/*/build/Jamfile.v2 ] ;
| libraries = [ MATCH .*/libs/(.*)/build/.* : $(libraries) ] ;
| for local l in $(libraries)
| use-project /boost/$(l) : libs/$(l)/build ;
Once that file has been referenced, all boost libraries can
be used as, say "/boost/thread//boost_thread".
IMHO, it would be nice if the standard Boost distribution
included something like that out-of-the-box.
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