2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-13 00:12:11 +00:00

Revive basic-targets.sources, needed for --dump-tests functionality.

[SVN r32312]
This commit is contained in:
Vladimir Prus
2006-01-13 08:42:10 +00:00
parent 3534e3021c
commit 5d464bf1b6

View File

@@ -1012,6 +1012,22 @@ class basic-target : abstract-target
}
}
# Returns the list of abstract-targets which are used as sources.
# The extra properties specified for sources are not represented.
# The only used of this rule at the moment is the "--dump-test"
# feature of the test system.
rule sources ( )
{
if ! $(self.source-targets) {
for local s in $(self.sources)
{
self.source-targets +=
[ targets.resolve-reference $(s) : $(self.project) ] ;
}
}
return $(self.source-targets) ;
}
rule requirements ( )
{
return $(self.requirements) ;