Boost logo

Boost-Build :

From: Austin Bingham (abingham_at_[hidden])
Date: 2003-10-15 08:49:26


> 1. "build-project subdir" ;
> 2. use-project /some_id : /subdir ;
>
> With M8, both load "subdir/Jamfile" for a second time -- which is really bad.
> With my local fixes, the first case works ok. The second case, though,
> breaks.
>
> The question: is this second case really necessary? I implicitly assumed that
> most times use-project will refer to projects with other project root. In
> this example, that "subdir" should contain a project-root.jam file.
>
> Opinions?

It seems like it should be pretty straightforward to construct a set of
Jamfiles to load before actually loading any of them (since you can find a
project root without parsing Jamfiles). This way you can cut out
load-duplication. This may be too simplistic, but it seems to address part
of the problem.

Austin

 


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