From 51e693134f5c354f2694fe89d14421c85bfacf31 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Wed, 5 Aug 2015 10:20:35 -0500 Subject: Merge outstanding develop changes (as appropriate). --- Jamroot | 32 +++++++++++++++----------------- 1 file changed, 15 insertions(+), 17 deletions(-) (limited to 'Jamroot') diff --git a/Jamroot b/Jamroot index 53a0205b71..eda4fb437c 100644 --- a/Jamroot +++ b/Jamroot @@ -139,7 +139,7 @@ boostcpp.set-version $(BOOST_VERSION) ; use-project /boost/architecture : libs/config/checks/architecture ; local all-headers = - [ MATCH .*libs/(.*)/include/boost : [ glob libs/*/include/boost ] ] ; + [ MATCH .*libs/(.*)/include/boost : [ glob libs/*/include/boost libs/*/*/include/boost ] ] ; for dir in $(all-headers) { @@ -147,18 +147,9 @@ for dir in $(all-headers) explicit $(dir)-headers ; } -local numeric-headers = - [ MATCH .*libs/numeric/(.*)/include/boost : [ glob libs/*/*/include/boost ] ] ; - -for dir in $(numeric-headers) -{ - link-directory numeric-$(dir)-headers : libs/numeric/$(dir)/include/boost : . ; - explicit numeric-$(dir)-headers ; -} - if $(all-headers) { - constant BOOST_MODULARLAYOUT : $(all-headers) $(numeric-headers) ; + constant BOOST_MODULARLAYOUT : $(all-headers) ; } project boost @@ -173,9 +164,6 @@ project boost # Used to encode variant in target name. See the 'tag' rule below. @$(__name__).tag @handle-static-runtime - # The standard library Sun compilers use by default has no chance - # of working with Boost. Override it. - sun:sun-stlport # Comeau does not support shared lib como:static como-linux:_GNU_SOURCE=1 @@ -243,7 +231,10 @@ for local l in $(all-libraries) } } -alias headers : $(all-headers)-headers numeric-$(numeric-headers)-headers : : : . ; +# Log has an additional target +explicit-alias log_setup : libs/log/build//boost_log_setup ; + +alias headers : $(all-headers)-headers : : : . ; explicit headers ; # Make project ids of all libraries known. @@ -252,8 +243,15 @@ for local l in $(all-libraries) use-project /boost/$(l) : libs/$(l)/build ; } -use-project /boost/tools/inspect : tools/inspect/build ; -use-project /boost/libs/wave/tool : libs/wave/tool/build ; +if [ path.exists $(BOOST_ROOT)/tools/inspect ] +{ + use-project /boost/tools/inspect : tools/inspect/build ; +} + +if [ path.exists $(BOOST_ROOT)/libs/wave/tool ] +{ + use-project /boost/libs/wave/tool : libs/wave/tool/build ; +} # This rule should be called from libraries' Jamfiles and will create two # targets, "install" and "stage", that will install or stage that library. The -- cgit v1.2.1