Boost logo

Boost-Build :

From: Pedro Ferreira (pedro.ferreira_at_[hidden])
Date: 2003-11-19 06:52:11


Hi again,

I've attached a patch that apparently does it.

Comments are welcome!

Cheers,

Pedro

----- Original Message -----
From: "Vladimir Prus" <ghost_at_[hidden]>
To: <jamboost_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
solutions
> > 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
> implemented.
>
> I really can't promise to implement it for this milestone, since I'd like
to
> 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'
attribute
> 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:
> jamboost-unsubscribe_at_[hidden]
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
 ------=_NextPart_000_0096_01C3AE93.90F9EE70 Content-Type: application/octet-stream;
name="dependency.diff"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="dependency.diff"

[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