Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r86489 - in branches/release: . libs libs/geometry libs/geometry/index libs/geometry/index/example libs/numeric/odeint libs/numeric/odeint/examples/vexcl libs/parameter/doc libs/parameter/doc/html libs/python libs/python/example libs/python/example/quickstart libs/python/example/tutorial libs/signals2 libs/signals2/example libs/units/test tools tools/regression tools/regression/build
From: bdawes_at_[hidden]
Date: 2013-10-27 17:10:04


Author: bemandawes
Date: 2013-10-27 17:10:04 EDT (Sun, 27 Oct 2013)
New Revision: 86489
URL: http://svn.boost.org/trac/boost/changeset/86489

Log:
Merge 86392 from trunk. The spirit change was not applied because the file is not present in branches/release.

Properties modified:
   branches/release/ (props changed)
   branches/release/Jamroot (contents, props changed)
   branches/release/libs/ (props changed)
   branches/release/libs/geometry/ (props changed)
   branches/release/libs/geometry/index/ (props changed)
   branches/release/libs/geometry/index/example/ (props changed)
   branches/release/libs/numeric/odeint/ (props changed)
   branches/release/libs/parameter/doc/html/index.html (contents, props changed)
   branches/release/libs/python/ (props changed)
   branches/release/libs/signals2/ (props changed)
   branches/release/tools/ (props changed)
   branches/release/tools/regression/ (props changed)
Text files modified:
   branches/release/Jamroot | 31 ++++++++++++++++++++++++++++++-
   branches/release/libs/geometry/index/example/Jamfile.v2 | 2 +-
   branches/release/libs/numeric/odeint/examples/vexcl/Jamfile.v2 | 2 +-
   branches/release/libs/parameter/doc/html/index.html | 2 +-
   branches/release/libs/parameter/doc/index.rst | 2 +-
   branches/release/libs/python/example/Jamroot | 5 ++++-
   branches/release/libs/python/example/quickstart/Jamroot | 2 ++
   branches/release/libs/python/example/tutorial/Jamroot | 5 ++++-
   branches/release/libs/signals2/example/Jamfile.v2 | 2 +-
   branches/release/libs/units/test/Jamfile.v2 | 2 +-
   branches/release/tools/Jamfile.v2 | 3 +++
   branches/release/tools/regression/build/Jamroot.jam | 25 +++++++++++++++++++++----
   12 files changed, 70 insertions(+), 13 deletions(-)

Modified: branches/release/Jamroot
==============================================================================
--- branches/release/Jamroot Sun Oct 27 17:05:17 2013 (r86488)
+++ branches/release/Jamroot 2013-10-27 17:10:04 EDT (Sun, 27 Oct 2013) (r86489)
@@ -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,34 @@
 
 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 : <location>. ;
+ 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 : <location>. ;
+ explicit numeric-$(dir)-headers ;
+}
+
+if $(all-headers)
+{
+ constant BOOST_MODULARLAYOUT : $(all-headers) $(numeric-headers) ;
+}
+if $(BOOST_MODULARLAYOUT)
+{
+ echo modularized layout build ;
+}
+
 project boost
     : requirements <include>.
       # Disable auto-linking for all targets here, primarily because it caused
@@ -213,7 +242,7 @@
     }
 }
 
-alias headers : : : : <include>. ;
+alias headers : $(all-headers)-headers numeric-$(numeric-headers)-headers : : : <include>. ;
 explicit headers ;
 
 # Make project ids of all libraries known.

Modified: branches/release/libs/geometry/index/example/Jamfile.v2
==============================================================================
--- branches/release/libs/geometry/index/example/Jamfile.v2 Sun Oct 27 17:05:17 2013 (r86488)
+++ branches/release/libs/geometry/index/example/Jamfile.v2 2013-10-27 17:10:04 EDT (Sun, 27 Oct 2013) (r86489)
@@ -18,7 +18,7 @@
 
 project boost-geometry-index-example
     : requirements
- <source>/boost//headers
+ <implicit-dependency>/boost//headers
     ;
 
 local GLUT_ROOT = [ os.environ GLUT_ROOT ] ;

Modified: branches/release/libs/numeric/odeint/examples/vexcl/Jamfile.v2
==============================================================================
--- branches/release/libs/numeric/odeint/examples/vexcl/Jamfile.v2 Sun Oct 27 17:05:17 2013 (r86488)
+++ branches/release/libs/numeric/odeint/examples/vexcl/Jamfile.v2 2013-10-27 17:10:04 EDT (Sun, 27 Oct 2013) (r86489)
@@ -21,7 +21,7 @@
 lib opencl : : <name>OpenCL ;
 
 project : requirements
- <library>/boost//headers
+ <implicit-dependency>/boost//headers
         <include>../../../../..
         <include>$(VEXCL_INCLUDE)
         <include>$(CUDA_INCLUDE)

Modified: branches/release/libs/parameter/doc/html/index.html
==============================================================================
--- branches/release/libs/parameter/doc/html/index.html Sun Oct 27 17:05:17 2013 (r86488)
+++ branches/release/libs/parameter/doc/html/index.html 2013-10-27 17:10:04 EDT (Sun, 27 Oct 2013) (r86489)
@@ -37,7 +37,7 @@
 </tbody>
 </table>
 <!-- @jam_prefix.append('''
-project test : requirements <include>. <source>/boost//headers ;''') -->
+project test : requirements <include>. <implicit-dependency>/boost//headers ;''') -->
 <!-- @example.prepend('''
 #include <boost/parameter.hpp>
 

Modified: branches/release/libs/parameter/doc/index.rst
==============================================================================
--- branches/release/libs/parameter/doc/index.rst Sun Oct 27 17:05:17 2013 (r86488)
+++ branches/release/libs/parameter/doc/index.rst 2013-10-27 17:10:04 EDT (Sun, 27 Oct 2013) (r86489)
@@ -30,7 +30,7 @@
   can be deduced from their types.
 
 .. @jam_prefix.append('''
- project test : requirements <include>. <source>/boost//headers ;''')
+ project test : requirements <include>. <implicit-dependency>/boost//headers ;''')
 
 .. @example.prepend('''
    #include <boost/parameter.hpp>

Modified: branches/release/libs/python/example/Jamroot
==============================================================================
--- branches/release/libs/python/example/Jamroot Sun Oct 27 17:05:17 2013 (r86488)
+++ branches/release/libs/python/example/Jamroot 2013-10-27 17:10:04 EDT (Sun, 27 Oct 2013) (r86489)
@@ -11,7 +11,10 @@
 # boost_python library from the project whose global ID is
 # /boost/python.
 project
- : requirements <library>/boost/python//boost_python ;
+ : requirements <library>/boost/python//boost_python
+ <implicit-dependency>/boost//headers
+ : usage-requirements <implicit-dependency>/boost//headers
+ ;
 
 # Declare the three extension modules. You can specify multiple
 # source files after the colon separated by spaces.

Modified: branches/release/libs/python/example/quickstart/Jamroot
==============================================================================
--- branches/release/libs/python/example/quickstart/Jamroot Sun Oct 27 17:05:17 2013 (r86488)
+++ branches/release/libs/python/example/quickstart/Jamroot 2013-10-27 17:10:04 EDT (Sun, 27 Oct 2013) (r86489)
@@ -12,6 +12,8 @@
 # /boost/python.
 project boost-python-quickstart
   : requirements <library>/boost/python//boost_python
+ <implicit-dependency>/boost//headers
+ : usage-requirements <implicit-dependency>/boost//headers
     ;
 
 # Make the definition of the python-extension rule available

Modified: branches/release/libs/python/example/tutorial/Jamroot
==============================================================================
--- branches/release/libs/python/example/tutorial/Jamroot Sun Oct 27 17:05:17 2013 (r86488)
+++ branches/release/libs/python/example/tutorial/Jamroot 2013-10-27 17:10:04 EDT (Sun, 27 Oct 2013) (r86489)
@@ -20,7 +20,10 @@
 # boost_python library from the project whose global ID is
 # /boost/python.
 project
- : requirements <library>/boost/python//boost_python ;
+ : requirements <library>/boost/python//boost_python
+ <implicit-dependency>/boost//headers
+ : usage-requirements <implicit-dependency>/boost//headers
+ ;
 
 # Declare the three extension modules. You can specify multiple
 # source files after the colon separated by spaces.

Modified: branches/release/libs/signals2/example/Jamfile.v2
==============================================================================
--- branches/release/libs/signals2/example/Jamfile.v2 Sun Oct 27 17:05:17 2013 (r86488)
+++ branches/release/libs/signals2/example/Jamfile.v2 2013-10-27 17:10:04 EDT (Sun, 27 Oct 2013) (r86489)
@@ -8,7 +8,7 @@
 
 # For more information, see http://www.boost.org
 
-project : requirements <source>/boost//headers ;
+project : requirements <implicit-dependency>/boost//headers ;
 
 exe hello_world_slot : hello_world_slot.cpp ;
 

Modified: branches/release/libs/units/test/Jamfile.v2
==============================================================================
--- branches/release/libs/units/test/Jamfile.v2 Sun Oct 27 17:05:17 2013 (r86488)
+++ branches/release/libs/units/test/Jamfile.v2 2013-10-27 17:10:04 EDT (Sun, 27 Oct 2013) (r86489)
@@ -16,7 +16,7 @@
 
 project boost/units/test :
     requirements
- <source>/boost//headers
+ <implicit-dependency>/boost//headers
         <include>../../..
         <toolset>msvc:<asynch-exceptions>on
         $(warning-compilers):$(warning-options)

Modified: branches/release/tools/Jamfile.v2
==============================================================================
--- branches/release/tools/Jamfile.v2 Sun Oct 27 17:05:17 2013 (r86488)
+++ branches/release/tools/Jamfile.v2 2013-10-27 17:10:04 EDT (Sun, 27 Oct 2013) (r86489)
@@ -12,6 +12,9 @@
     :
     requirements
     <link>static
+ <implicit-dependency>/boost//headers
+ :
+ usage-requirements <implicit-dependency>/boost//headers
     ;
 
 use-project /boost/regression : regression/build ;

Modified: branches/release/tools/regression/build/Jamroot.jam
==============================================================================
--- branches/release/tools/regression/build/Jamroot.jam Sun Oct 27 17:05:17 2013 (r86488)
+++ branches/release/tools/regression/build/Jamroot.jam 2013-10-27 17:10:04 EDT (Sun, 27 Oct 2013) (r86489)
@@ -37,7 +37,7 @@
     :
     <define>BOOST_ALL_NO_LIB=1
     <define>_CRT_SECURE_NO_WARNINGS
- <use>/boost//headers
+ <implicit-dependency>/boost//headers
     :
     release
     ;
@@ -51,7 +51,7 @@
     :
     <define>BOOST_ALL_NO_LIB=1
     <define>_CRT_SECURE_NO_WARNINGS
- <use>/boost//headers
+ <implicit-dependency>/boost//headers
     :
     release
     ;
@@ -64,7 +64,7 @@
     /boost/filesystem//boost_filesystem/<link>static
     :
     <define>BOOST_ALL_NO_LIB=1
- <use>/boost//headers
+ <implicit-dependency>/boost//headers
     :
     release
     ;
@@ -77,8 +77,25 @@
     /boost/filesystem//boost_filesystem/<link>static
     :
     <define>BOOST_ALL_NO_LIB=1
- <use>/boost//headers
+ <implicit-dependency>/boost//headers
     :
     release
     ;
 explicit library_status ;
+
+exe boost_report
+ :
+ [ glob report/*.cpp ]
+ /boost/filesystem//boost_filesystem/<link>static
+ /boost//filesystem/<link>static
+ /boost//date_time/<link>static
+ /boost//regex/<link>static
+ /boost//program_options/<link>static
+ /boost//iostreams/<link>static
+ :
+ <define>BOOST_ALL_NO_LIB=1
+ <implicit-dependency>/boost//headers
+ :
+ release
+ ;
+explicit boost_report ;


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