Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-05-24 07:19:17


On Wednesday 18 May 2005 06:33, David Abrahams wrote:
> David Abrahams <dave_at_[hidden]> writes:
> > Vladimir Prus <ghost_at_[hidden]> writes:
> >> I attach a prototype implementation that implements this idea for
> >> msvc.compile.c++ action, and would appreciate if you try it.
> >
> > Doesn't work at all. Did you test it? It creates circular
> > dependencies, among other things. The enclosed works... sort of.
> >
> > It's really inconvenient and IMO senseless to use response files for
> > compiles of single source files. The only purpose is to shorten
> > command lines, and when the response file name is likely to be as long
> > as the input file name you don't gain anything.
>
> By way of clarification, I say this is inconvenient because: suppose I
> preprocess the file successfully into another file, and I want to
> substitute it on the command line. In this case I have to find the
> response file and edit it.

Ahm... so you want *filename only* to be kept on command line. That sounds
reasonable, and I now understand your argument about:

The only purpose is to shorten
command lines, and when the response file name is likely to be as long
as the input file name you don't gain anything.

I'll see if this can be done.

-- 
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