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:
@@ -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 ;
|
||||
|
||||
Reference in New Issue
Block a user