Skip to content

Commit 74b9bca

Browse files
committed
Add Boost.Build support for the Git modular layout, using links to to new header locations, thus preventing breakage to vast amounts of user code and build setups. Being added to SVN so that changes will automatically propagate to Git and modular Boost. Thanks to Steven Watanabe, Jürgen Hunold, Vladimir Prus, and Bjørn Roald for developing this patch. Steven in particular conceived the approach and did the initial implementation, which was further refined by the other contributors.
[SVN r86392]
1 parent 371914a commit 74b9bca

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

example/Jamroot

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ use-project boost
1111
# boost_python library from the project whose global ID is
1212
# /boost/python.
1313
project
14-
: requirements <library>/boost/python//boost_python ;
14+
: requirements <library>/boost/python//boost_python
15+
<implicit-dependency>/boost//headers
16+
: usage-requirements <implicit-dependency>/boost//headers
17+
;
1518

1619
# Declare the three extension modules. You can specify multiple
1720
# source files after the colon separated by spaces.

example/quickstart/Jamroot

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ use-project boost
1212
# /boost/python.
1313
project boost-python-quickstart
1414
: requirements <library>/boost/python//boost_python
15+
<implicit-dependency>/boost//headers
16+
: usage-requirements <implicit-dependency>/boost//headers
1517
;
1618

1719
# Make the definition of the python-extension rule available

example/tutorial/Jamroot

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@ use-project boost
2020
# boost_python library from the project whose global ID is
2121
# /boost/python.
2222
project
23-
: requirements <library>/boost/python//boost_python ;
23+
: requirements <library>/boost/python//boost_python
24+
<implicit-dependency>/boost//headers
25+
: usage-requirements <implicit-dependency>/boost//headers
26+
;
2427

2528
# Declare the three extension modules. You can specify multiple
2629
# source files after the colon separated by spaces.

0 commit comments

Comments
 (0)