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 boost.build.v2 method
for producing preprocessor output?

TIA.


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
www.boost-consulting.com
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

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