mirror of
https://github.com/boostorg/build.git
synced 2026-02-16 01:12:13 +00:00
Add <target> property to properties passed to <tag> name adjustment rules.
[SVN r34885]
This commit is contained in:
@@ -402,6 +402,14 @@ class abstract-file-target : virtual-target
|
||||
ps = [ property-set.empty ] ;
|
||||
}
|
||||
|
||||
#~ We add ourselves to the properties so that any tag rule can get
|
||||
#~ more direct information about the target than just that available
|
||||
#~ through the properties. This is useful in implementing
|
||||
#~ name changes based on the sources of the target. For example to
|
||||
#~ make unique names of object files based on the source file.
|
||||
#~ --grafik
|
||||
ps = [ property-set.create [ $(ps).raw ] <target>$(__name__) ] ;
|
||||
|
||||
local tag = [ $(ps).get <tag> ] ;
|
||||
|
||||
if $(tag)
|
||||
|
||||
Reference in New Issue
Block a user