Boost logo

Boost-Build :

From: Andrei Melnikov (andy.melnikov_at_[hidden])
Date: 2006-08-21 14:14:03


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.

---
Andrei

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