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

Merge from trunk

[SVN r33996]
This commit is contained in:
Vladimir Prus
2006-05-18 09:18:59 +00:00
parent 27de93041e
commit 5a27be36db

View File

@@ -71,13 +71,11 @@ rule load ( jamfile-location )
# after parent projects. In particular, because parent projects
# define attributes whch are inherited by children, and we don't
# want children to be loaded before parents has defined everything.
# So, for "build-project" and "use-project" we only record relevant
# information, and actually load the mentioned projects after
# loading the current Jamfile.
for local p in [ attribute $(module-name) projects-to-build ]
{
load [ path.root $(p) $(jamfile-location) ] ;
}
#
# While "build-project" and "use-project" can potentially refer
# to child projects from parent projects, we don't immediately
# loading child projects when seing those attributes. Instead,
# we record the minimal information that will be used only later.
local used = [ modules.peek $(module-name) : .used-projects ] ;
import project ;