Skip to content

Commit 30bdbf3

Browse files
grafikrobotstefanseefeld
authored andcommitted
Move inter-lib dependencies to a project variable and into the build targets.
1 parent 5a07cdb commit 30bdbf3

2 files changed

Lines changed: 25 additions & 21 deletions

File tree

build.jam

Lines changed: 24 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -5,29 +5,31 @@
55

66
require-b2 5.2 ;
77

8+
constant boost_dependencies :
9+
/boost/align//boost_align
10+
/boost/bind//boost_bind
11+
/boost/config//boost_config
12+
/boost/conversion//boost_conversion
13+
/boost/core//boost_core
14+
/boost/detail//boost_detail
15+
/boost/foreach//boost_foreach
16+
/boost/function//boost_function
17+
/boost/graph//boost_graph
18+
/boost/integer//boost_integer
19+
/boost/iterator//boost_iterator
20+
/boost/lexical_cast//boost_lexical_cast
21+
/boost/mpl//boost_mpl
22+
/boost/numeric_conversion//boost_numeric_conversion
23+
/boost/preprocessor//boost_preprocessor
24+
/boost/property_map//boost_property_map
25+
/boost/smart_ptr//boost_smart_ptr
26+
/boost/static_assert//boost_static_assert
27+
/boost/tuple//boost_tuple
28+
/boost/type_traits//boost_type_traits
29+
/boost/utility//boost_utility ;
30+
831
project /boost/python
932
: common-requirements
10-
<library>/boost/align//boost_align
11-
<library>/boost/bind//boost_bind
12-
<library>/boost/config//boost_config
13-
<library>/boost/conversion//boost_conversion
14-
<library>/boost/core//boost_core
15-
<library>/boost/detail//boost_detail
16-
<library>/boost/foreach//boost_foreach
17-
<library>/boost/function//boost_function
18-
<library>/boost/graph//boost_graph
19-
<library>/boost/integer//boost_integer
20-
<library>/boost/iterator//boost_iterator
21-
<library>/boost/lexical_cast//boost_lexical_cast
22-
<library>/boost/mpl//boost_mpl
23-
<library>/boost/numeric_conversion//boost_numeric_conversion
24-
<library>/boost/preprocessor//boost_preprocessor
25-
<library>/boost/property_map//boost_property_map
26-
<library>/boost/smart_ptr//boost_smart_ptr
27-
<library>/boost/static_assert//boost_static_assert
28-
<library>/boost/tuple//boost_tuple
29-
<library>/boost/type_traits//boost_type_traits
30-
<library>/boost/utility//boost_utility
3133
<include>include
3234
;
3335

@@ -40,3 +42,4 @@ explicit
4042
call-if : boost-library python
4143
: install boost_python boost_numpy
4244
;
45+

build/Jamfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ else
3232

3333
project
3434
: source-location ../src
35+
: common-requirements <library>$(boost_dependencies)
3536
;
3637

3738
rule cond ( test ? : yes * : no * ) { if $(test) { return $(yes) ; } else { return $(no) ; } }

0 commit comments

Comments
 (0)