Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r79720 - trunk/tools/build/v2/build
From: jurko.gospodnetic_at_[hidden]
Date: 2012-07-24 06:33:34


Author: jurko
Date: 2012-07-24 06:33:34 EDT (Tue, 24 Jul 2012)
New Revision: 79720
URL: http://svn.boost.org/trac/boost/changeset/79720

Log:
Boost Build code cleanup - improved support for initializing toolset & extension modules with more than 8 parameters (current Boost Jam supports up to 19 numbered parameter references) + minor stylistic changes.
Text files modified:
   trunk/tools/build/v2/build/project.jam | 10 ++++++----
   1 files changed, 6 insertions(+), 4 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-07-24 06:33:34 EDT (Tue, 24 Jul 2012)
@@ -827,7 +827,8 @@
         # Create the project itself, i.e. the attributes. All extensions are
         # created in the "/ext" project space.
         project /ext/$(1) : $(2) : $(3) : $(4) : $(5) : $(6) : $(7) : $(8) :
- $(9) ;
+ $(9) : $(10) : $(11) : $(12) : $(13) : $(14) : $(15) : $(16) : $(17)
+ : $(18) : $(19) ;
         local attributes = [ project.attributes $(__name__) ] ;
 
         # Inherit from the root project of whomever is defining us.
@@ -896,13 +897,14 @@
         local caller = [ CALLER_MODULE ] ;
         local caller-location = [ modules.binding $(caller) ] ;
         modules.poke : BOOST_BUILD_PATH : $(caller-location:D) $(x) ;
- toolset.using $(1) : $(2) : $(3) : $(4) : $(5) : $(6) : $(7) : $(8) : $(9) ;
+ toolset.using $(1) : $(2) : $(3) : $(4) : $(5) : $(6) : $(7) : $(8) :
+ $(9) : $(10) : $(11) : $(12) : $(13) : $(14) : $(15) : $(16) : $(17)
+ : $(18) : $(19) ;
         modules.poke : BOOST_BUILD_PATH : $(x) ;
 
         # The above might have clobbered .current-project. Restore the correct
         # value.
- modules.poke project : .current-project
- : [ project.target $(caller) ] ;
+ modules.poke project : .current-project : [ project.target $(caller) ] ;
     }
 
     import modules ;


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