Boost logo

Boost-Build :

From: Reece Dunn (msclrhd_at_[hidden])
Date: 2005-12-05 12:09:38


Vladimir Prus wrote:
>
>If I modify the end of the rule to be:
>
> local raw = [ $(subvariant).sources-usage-requirements ] ;
> raw = [ $(raw).raw ] ;
> raw = [ property.change $(raw) : <pch-header> ] ;
>
> ECHO "XXXXXX" $(raw) ;
>
> result = [ $(result).add [ property-set.create $(raw) ] ] ;
>
>and then replace ../core with ../core//core, I get a single -Yu option when
>compiling client/main.cpp. (I got double -Yu option before).
>Instead of replacing ../core, you can add "explicit stdafx2" to
>core/Jamfile.

Cool. It might be useful to add this in the pch.jam comments or at least in
documentation of this feature.

>Looks like change to basic-target.compute-usage-requirements is the only
>thing
>missing in your patch!

Feel free to make the necessary changes and then submit. Thanks again for
the help :).

- Reece


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