Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r79910 - trunk/tools/build/v2/build
From: jurko.gospodnetic_at_[hidden]
Date: 2012-08-07 10:15:32


Author: jurko
Date: 2012-08-07 10:15:31 EDT (Tue, 07 Aug 2012)
New Revision: 79910
URL: http://svn.boost.org/trac/boost/changeset/79910

Log:
Boost Build cleanup - made the project.use rule local + minor stylistic changes.
Text files modified:
   trunk/tools/build/v2/build/project.jam | 5 ++---
   1 files changed, 2 insertions(+), 3 deletions(-)

Modified: trunk/tools/build/v2/build/project.jam
==============================================================================
--- trunk/tools/build/v2/build/project.jam (original)
+++ trunk/tools/build/v2/build/project.jam 2012-08-07 10:15:31 EDT (Tue, 07 Aug 2012)
@@ -83,12 +83,11 @@
 {
     local used = [ modules.peek $(module-name) : .used-projects ] ;
     local location = [ attribute $(module-name) location ] ;
- import project ;
     while $(used)
     {
         local id = $(used[1]) ;
         local where = $(used[2]) ;
- project.use $(id) : [ path.root [ path.make $(where) ] $(location) ] ;
+ use $(id) : [ path.root [ path.make $(where) ] $(location) ] ;
         used = $(used[3-]) ;
     }
 }
@@ -787,7 +786,7 @@
 
 # Use/load a project.
 #
-rule use ( id : location )
+local rule use ( id : location )
 {
     local project-module = [ project.load $(location) ] ;
     local declared-id = [ project.attribute $(project-module) id ] ;


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk