Skip to content

Commit e554b02

Browse files
grafikrobotjeking3
authored andcommitted
Move inter-lib dependencies to a project variable and into the build targets.
1 parent 2ee3e9b commit e554b02

File tree

1 file changed

+15
-12
lines changed

1 file changed

+15
-12
lines changed

build.jam

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,29 @@
55

66
require-b2 5.2 ;
77

8+
constant boost_dependencies :
9+
/boost/array//boost_array
10+
/boost/config//boost_config
11+
/boost/core//boost_core
12+
/boost/move//boost_move
13+
/boost/preprocessor//boost_preprocessor
14+
/boost/ptr_container//boost_ptr_container
15+
/boost/range//boost_range
16+
/boost/static_assert//boost_static_assert
17+
/boost/throw_exception//boost_throw_exception
18+
/boost/tuple//boost_tuple
19+
/boost/type_traits//boost_type_traits ;
20+
821
project /boost/assign
922
: common-requirements
10-
<library>/boost/array//boost_array
11-
<library>/boost/config//boost_config
12-
<library>/boost/core//boost_core
13-
<library>/boost/move//boost_move
14-
<library>/boost/preprocessor//boost_preprocessor
15-
<library>/boost/ptr_container//boost_ptr_container
16-
<library>/boost/range//boost_range
17-
<library>/boost/static_assert//boost_static_assert
18-
<library>/boost/throw_exception//boost_throw_exception
19-
<library>/boost/tuple//boost_tuple
20-
<library>/boost/type_traits//boost_type_traits
2123
<include>include
2224
;
2325

2426
explicit
25-
[ alias boost_assign ]
27+
[ alias boost_assign : : : : <library>$(boost_dependencies) ]
2628
[ alias all : boost_assign test ]
2729
;
2830

2931
call-if : boost-library assign
3032
;
33+

0 commit comments

Comments
 (0)