Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-08-22 02:58:44


On Monday 21 August 2006 22:14, Andrei Melnikov wrote:
> On 21/08/06, David Abrahams <dave_at_[hidden]> wrote:
> > "Andrei Melnikov" <andy.melnikov_at_[hidden]> writes:
> > > Here is an example taken from msvc.jam:
> > >
> > > actions compile-c-c++
> > > {
> > > $(.CC) @"@($(<[1]:W).rsp:E="$(>[1]:W)" -Fo"$(<[1]:W)"
> > > -Yu"$(>[3]:D=)" -Fp"$(>[2]:W)" $(CC_RSPLINE))"
> > > }
> > >
> > > It creates a file $(<[1]:W).rsp with $(>[1]:W)" -Fo"$(<[1]:W)"
> > > -Yu"$(>[3]:D=)" -Fp"$(>[2]:W)" $(CC_RSPLINE) written inside.
> > >
> > > So I just want to write everything written using @() to the log at
> > > debug level 2 and higher.
> > >
> > > The merging of RSP and command line is toolset-specific and I don't
> > > think it will give us a lot of advantages. I think we should see
> > > the exact picture.
> >
> > I agree.
>
> I don't know how to implement this. I never looked inside the bjam C
> sources.

I use to have a partial patch to do that. I'll see if I have it anywhere
handy.

- Volodya

-- 
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build V2: http://boost.org/boost-build2

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