Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-11-16 03:28:32


On Thursday 16 November 2006 08:59, Rene Rivera wrote:
> Rene Rivera wrote:
> > I'll see how much farther I can get without using a rule.
>
> OK, I think the attached additional patch produces the
> desired/equivalent results (except for the warning messages). The
> root/Jamfile.v2 patch is just to show the other bits of code using this
> obsoletes.
>
> I tested (virtually) both doing builds, and running tests. In both cases
> targets that depended on ones with <build>no conditionally added to them
> where skipped. (AFAICT)

Seems to work this way for me too, except that it should not. Or rather, I see
no way how it can work for the following case:

exe a : a.cpp helper ;

lib helper : helper.cpp : <runtime-link>static ;
explicit helper ;

The 'a' target is not built for me, but I fail to understand why -- I never
implement any mechanism to skip 'a' in this case and I don't see any new
mechanism in your patch. I'd need to look at this in detail.

- Volodya


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