From b68013587aeba36157fc266c3d31fa4a3d69a9d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jurko=20Gospodneti=C4=87?= Date: Tue, 24 Jul 2012 10:33:34 +0000 Subject: [PATCH] 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. [SVN r79720] --- src/build/project.jam | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/build/project.jam b/src/build/project.jam index e9135628a..521bbec6d 100644 --- a/src/build/project.jam +++ b/src/build/project.jam @@ -827,7 +827,8 @@ rule extension ( id : options * : * ) # 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 @@ module project-rules 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 ;