Boost logo

Boost-Build :

From: Larry Evans (cppljevans_at_[hidden])
Date: 2007-04-28 09:35:06

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 method
for producing preprocessor output?


attached mail follows:

Larry Evans wrote:
> On 04/27/2007 10:59 AM, Eric Niebler wrote:
> [snip]
>> You might look at the fold<> transform (I suggest you run the sources
>> through the preprocessor first). And then try to wrap your head around
>> the fold_to_list<> transform to see how the runtime component of the
>> transform works. Once you understand that, you'll know proto's
>> transforms inside and out.
> Eric,
> I've tried to get boost build to create a preprocessor output file
> without success.

I don't know. I use (on windows) "cl /I %BOOST_ROOT% /P fold.hpp". That
creates fold.i with the preprocessed output. Maybe a BBv2 expert knows?
Maybe there is a <preprocess>yes feature, or someone could add one.

Eric Niebler
Boost Consulting
Unsubscribe & other changes:

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at