2
0
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:
Rene Rivera
2006-08-15 05:56:56 +00:00
parent 041fab5e8e
commit 2852cfab5e

View File

@@ -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)