$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
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:
| requires
| = <include>.
| <threading>single:<define>BOOST_DISABLE_THREADS
| ;
|
| 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.
Peter