Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r57490 - trunk/tools/build/v2/build
From: ghost_at_[hidden]
Date: 2009-11-08 12:32:53


Author: vladimir_prus
Date: 2009-11-08 12:32:53 EST (Sun, 08 Nov 2009)
New Revision: 57490
URL: http://svn.boost.org/trac/boost/changeset/57490

Log:
Allow to localize rules when inheriting toolset.

Text files modified:
   trunk/tools/build/v2/build/toolset.jam | 6 +++---
   1 files changed, 3 insertions(+), 3 deletions(-)

Modified: trunk/tools/build/v2/build/toolset.jam
==============================================================================
--- trunk/tools/build/v2/build/toolset.jam (original)
+++ trunk/tools/build/v2/build/toolset.jam 2009-11-08 12:32:53 EST (Sun, 08 Nov 2009)
@@ -449,7 +449,7 @@
 }
 
 
-rule inherit-rules ( toolset : base )
+rule inherit-rules ( toolset : base : localize ? )
 {
     # It appears that "action" creates a local rule.
     local base-generators = [ generators.generators-for-toolset $(base) ] ;
@@ -459,8 +459,8 @@
         rules += [ MATCH "[^.]*\.(.*)" : [ $(g).rule-name ] ] ;
     }
     rules = [ sequence.unique $(rules) ] ;
- IMPORT $(base) : $(rules) : $(toolset) : $(rules) ;
- IMPORT $(base) : $(rules) : : $(toolset).$(rules) ;
+ IMPORT $(base) : $(rules) : $(toolset) : $(rules) : $(localize) ;
+ IMPORT $(toolset) : $(rules) : : $(toolset).$(rules) ;
 }
 
 


Boost-Commit 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