Boost logo

Boost-Build :

From: Kevin Wheatley (hxpro_at_[hidden])
Date: 2005-09-27 09:20:55


Kevin Wheatley wrote:
> Now all I have to do is implements my own Jam file for the boost
> installed tree and it might not take a minute or two to start building
> ... :-)

So as a result of my posting that link a few days ago, I've been
experimenting with a toy project of mine and getting it to build under
Windows (VC 7.1) using BBv2. It links in a couple of the Boost
libraries that are built using the normal install (filesystem, thread,
test, etc).

Whan I use-project and point it to the extracted BOOST_ROOT, i.e. the
full source, bjam takes well over 1 minute to sit there and decide
that nothing needs to be done. If instead I make my own Jamroot file
and add some prebuild libs corresponding to something similar to what
Jason Stewart mailed a few days ago, the time taken to bjam falls by
over 60s to something on the order of 15-20s. Clearly this is an
interesting point for future improvement as has already been
suggested.

Related to this, is there a way to make a use'd project auto-magically
add say an <include> to my project requirements, in particular if I am
not using any targets from the other project directly. this would be
the case with a header only Boost library for instance where I would
want the boost project file to be referenced...

exe mytool : foo.cpp : <include>/boost ;

basically I want useage-requirements when I reference the project or
something similar.

in a similar manner is it possible to use the project id as a base
point to start looking for directories...

lib mylib : [glob *.cpp ] :
<include>/myproject/subproject//directory/to/include ;

That way I get the rename-ability of using project ids and relative
paths...

Thanks

Kevin

-- 
| Kevin Wheatley, Cinesite (Europe) Ltd | Nobody thinks this |
| Senior Technology | My employer for certain |
| And Network Systems Architect | Not even myself |
 

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