From: Pedro Ferreira (pedro.ferreira_at_[hidden])
Date: 2003-11-19 06:52:11
I've attached a patch that apparently does it.
Comments are welcome!
----- Original Message -----
From: "Vladimir Prus" <ghost_at_[hidden]>
Sent: Wednesday, November 19, 2003 8:36 AM
Subject: Re: [jamboost] Quick question on dependencies (BBv2)
> Hi Pedro,
> > suppose I have something like:
> > lib a : a.cpp ;
> > stage stage-a : a ;
> > lib b : b.cpp ;
> > and I must have a staged _before compiling_ b.cpp, even though it is not
> > linked with it or includes any of b's headers. What is the best
> > to do this?
> lib b : b.cpp : <dependency>stage-a ;
> Where's the catch, you'd ask. The catch is that the <dependency> is not
> I really can't promise to implement it for this milestone, since I'd like
> make the final round of optimization. However, if you're willing to invest
> half-an-hour, you can implement this yourself. The recommented course
> of actions is:
> 1. Define new feature <dependency>. Be sure to specify 'dependency'
> for it.
> 2. Go to virtual-target.jam, and action.actualize-sources method.
> 3. Grab all <dependency> properties from self.properties via call to 'get'
> method on self.properties.
> 4. Add the result to 'self.dependency-only-sources'
> - Volodya
> To unsubscribe from this group, send an email to:
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
------=_NextPart_000_0096_01C3AE93.90F9EE70 Content-Type: application/octet-stream;
[Attachment content not displayed.] ------=_NextPart_000_0096_01C3AE93.90F9EE70--
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