From: Vladimir Prus (ghost_at_[hidden])
Date: 2007-04-29 14:32:02


On Saturday 28 April 2007 17:35, Larry Evans wrote:
> Based on the attachment, from the boost.devel list,
> apparently producing preprocessor output is a useful
> debugging tool for the boost preprocessor library.
> Would someone publish a boost.build.v2 method
> for producing preprocessor output?

I'd suggest using:

        bjam cxxflags=<whatever-flag-make-your-compiler-save-preprocessed-source>

say, for gcc:

        bjam cxxflags=-save-temps

There's no "portable" way to do that.

- Volodya