|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r49973 - trunk/tools/build/v2/build
From: ghost_at_[hidden]
Date: 2008-11-28 05:29:05
Author: vladimir_prus
Date: 2008-11-28 05:29:04 EST (Fri, 28 Nov 2008)
New Revision: 49973
URL: http://svn.boost.org/trac/boost/changeset/49973
Log:
Copy generator's rule name when cloning
Text files modified:
trunk/tools/build/v2/build/generators.jam | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
Modified: trunk/tools/build/v2/build/generators.jam
==============================================================================
--- trunk/tools/build/v2/build/generators.jam (original)
+++ trunk/tools/build/v2/build/generators.jam 2008-11-28 05:29:04 EST (Fri, 28 Nov 2008)
@@ -314,12 +314,13 @@
#
rule clone ( new-id : new-toolset-properties + )
{
- return [ new $(__class__) $(new-id) $(self.composing) :
+ local g = [ new $(__class__) $(new-id) $(self.composing) :
$(self.source-types) : $(self.target-types-and-names) :
# Note: this does not remove any subfeatures of <toolset> which
# might cause problems.
[ property.change $(self.requirements) : <toolset> ]
$(new-toolset-properties) ] ;
+ $(g).set-rule-name [ $(self.rule-name) ] ;
}
# Creates another generator that is the same as $(self), except that if
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