Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r49618 - trunk/tools/build/v2/build
From: ghost_at_[hidden]
Date: 2008-11-06 12:59:18


Author: vladimir_prus
Date: 2008-11-06 12:59:17 EST (Thu, 06 Nov 2008)
New Revision: 49618
URL: http://svn.boost.org/trac/boost/changeset/49618

Log:
When inheriting rules from a toolset, use generator's rule name, not id.

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

Modified: trunk/tools/build/v2/build/toolset.jam
==============================================================================
--- trunk/tools/build/v2/build/toolset.jam (original)
+++ trunk/tools/build/v2/build/toolset.jam 2008-11-06 12:59:17 EST (Thu, 06 Nov 2008)
@@ -455,9 +455,9 @@
     local rules ;
     for local g in $(base-generators)
     {
- local id = [ MATCH "[^.]*\.(.*)" : [ $(g).id ] ] ;
- rules += $(id) ;
+ rules += [ MATCH "[^.]*\.(.*)" : [ $(g).rule-name ] ] ;
     }
+ rules = [ sequence.unique $(rules) ] ;
     IMPORT $(base) : $(rules) : $(toolset) : $(rules) ;
     IMPORT $(base) : $(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