Skip to content

Commit bd56ab5

Browse files
committed
Move inter-lib dependencies to a project variable and into the build targets.
1 parent 717daf5 commit bd56ab5

File tree

1 file changed

+14
-11
lines changed

1 file changed

+14
-11
lines changed

build.jam

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,28 @@
55

66
require-b2 5.2 ;
77

8+
constant boost_dependencies :
9+
/boost/bind//boost_bind
10+
/boost/config//boost_config
11+
/boost/core//boost_core
12+
/boost/detail//boost_detail
13+
/boost/iterator//boost_iterator
14+
/boost/mpl//boost_mpl
15+
/boost/preprocessor//boost_preprocessor
16+
/boost/tuple//boost_tuple
17+
/boost/type_traits//boost_type_traits
18+
/boost/utility//boost_utility ;
19+
820
project /boost/lambda
921
: common-requirements
10-
<library>/boost/bind//boost_bind
11-
<library>/boost/config//boost_config
12-
<library>/boost/core//boost_core
13-
<library>/boost/detail//boost_detail
14-
<library>/boost/iterator//boost_iterator
15-
<library>/boost/mpl//boost_mpl
16-
<library>/boost/preprocessor//boost_preprocessor
17-
<library>/boost/tuple//boost_tuple
18-
<library>/boost/type_traits//boost_type_traits
19-
<library>/boost/utility//boost_utility
2022
<include>include
2123
;
2224

2325
explicit
24-
[ alias boost_lambda ]
26+
[ alias boost_lambda : : : : <library>$(boost_dependencies) ]
2527
[ alias all : boost_lambda test ]
2628
;
2729

2830
call-if : boost-library lambda
2931
;
32+

0 commit comments

Comments
 (0)