mirror of
https://github.com/boostorg/build.git
synced 2026-02-14 00:32:11 +00:00
Copy generator's rule name when cloning
[SVN r49973]
This commit is contained in:
@@ -314,12 +314,13 @@ class generator
|
||||
#
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user