Index: Jamroot =================================================================== --- Jamroot (revision 85450) +++ Jamroot (working copy) @@ -128,6 +128,7 @@ import xsltproc ; import set ; import path ; +import link ; path-constant BOOST_ROOT : . ; constant BOOST_VERSION : 1.55.0 ; @@ -135,6 +136,29 @@ boostcpp.set-version $(BOOST_VERSION) ; + +local all-headers = + [ MATCH .*libs/(.*)/include/boost : [ glob libs/*/include/boost ] ] ; + +for dir in $(all-headers) +{ + link-directory $(dir)-headers : libs/$(dir)/include/boost : . ; +} + +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 : . ; +} + +BOOST_MODULARLAYOUT = $(all-headers) $(numeric-headers) ; +if $(BOOST_MODULARLAYOUT) +{ + echo modularized layout build ; +} + project boost : requirements . # Disable auto-linking for all targets here, primarily because it caused @@ -210,7 +234,7 @@ } } -alias headers : : : : . ; +alias headers : $(all-headers)-headers numeric-$(numeric-headers)-headers : : : . ; explicit headers ; # Make project ids of all libraries known. Index: libs/units/test/Jamfile.v2 =================================================================== --- libs/units/test/Jamfile.v2 (revision 85450) +++ libs/units/test/Jamfile.v2 (working copy) @@ -16,7 +16,7 @@ project boost/units/test : requirements - /boost//headers + /boost//headers ../../.. msvc:on $(warning-compilers):$(warning-options) Index: libs/parameter/doc/index.rst =================================================================== --- libs/parameter/doc/index.rst (revision 85450) +++ libs/parameter/doc/index.rst (working copy) @@ -30,7 +30,7 @@ can be deduced from their types. .. @jam_prefix.append(''' - project test : requirements . /boost//headers ;''') + project test : requirements . /boost//headers ;''') .. @example.prepend(''' #include Index: libs/parameter/doc/html/index.html =================================================================== --- libs/parameter/doc/html/index.html (revision 85450) +++ libs/parameter/doc/html/index.html (working copy) @@ -37,7 +37,7 @@ +project test : requirements . /boost//headers ;''') -->