|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-06-15 06:39:26
On Tuesday 14 June 2005 20:07, David Abrahams wrote:
> Vladimir Prus <ghost_at_[hidden]> writes:
> > On Saturday 11 June 2005 00:47, David Abrahams wrote:
> >> Suppose I have a file that *does* compile, and I want to preprocess
> >> it?
> >>
> >> I think we may need to integrate direct support for preprocessing.
> >>
> >> But I think we also need a command-line option to preserve response
> >> files.
> >
> > That's one possibility. I usually just touch the file and then
> >
> > bjam cxxflags=-save-temps
>
> What does that do?
Passed -save-temps flags to the compiler, that, on gcc, causes the
preprocessed source to be retained (together with other things, like
assembler source).
- 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