Boost logo

Boost-Build :

From: Reece Dunn (msclrhd_at_[hidden])
Date: 2005-12-06 04:31:03


Vladimir Prus wrote:
> Hi Reece,
>
> Looks like change to basic-target.compute-usage-requirements is the only thing
> missing in your patch!

I have attached the patch for target.jam to support PCH -- the
<pch-file> needed removing as well.

You can commit this along with the other patches (not resubmitted) for
PCH support.

- Reece

Index: targets.jam
===================================================================
RCS file: /cvsroot/boost/boost/tools/build/v2/build/targets.jam,v
retrieving revision 1.184
diff -u -r1.184 targets.jam
--- targets.jam 20 Sep 2005 13:46:05 -0000 1.184
+++ targets.jam 6 Dec 2005 09:17:48 -0000
@@ -1176,8 +1176,12 @@
         local result = [ property-set.create
             [ $(xusage-requirements).non-dependency ] $(extra) ] ;
         
- result = [ $(result).add
- [ $(subvariant).sources-usage-requirements ] ] ;
+ local raw = [ $(subvariant).sources-usage-requirements ] ;
+ raw = [ $(raw).raw ] ;
+ raw = [ property.change $(raw) : <pch-header> ] ;
+ raw = [ property.change $(raw) : <pch-file> ] ;
+
+ result = [ $(result).add [ property-set.create $(raw) ] ] ;
         
         return $(result) ;
     }


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