From 5a27be36dbce128d93bc30e34544424f507ed4b2 Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Thu, 18 May 2006 09:18:59 +0000 Subject: [PATCH] Merge from trunk [SVN r33996] --- src/build/project.jam | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/build/project.jam b/src/build/project.jam index dd7fe3920..32254750f 100644 --- a/src/build/project.jam +++ b/src/build/project.jam @@ -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 ;