Skip to content

Commit ac33d28

Browse files
grafikrobotjeking3
authored andcommitted
Move inter-lib dependencies to a project variable and into the build targets.
1 parent 7d3eaa1 commit ac33d28

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

build.jam

+9-6
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,23 @@
55

66
require-b2 5.2 ;
77

8+
constant boost_dependencies :
9+
/boost/assert//boost_assert
10+
/boost/config//boost_config
11+
/boost/iterator//boost_iterator
12+
/boost/throw_exception//boost_throw_exception
13+
/boost/type_traits//boost_type_traits ;
14+
815
project /boost/tokenizer
916
: common-requirements
10-
<library>/boost/assert//boost_assert
11-
<library>/boost/config//boost_config
12-
<library>/boost/iterator//boost_iterator
13-
<library>/boost/throw_exception//boost_throw_exception
14-
<library>/boost/type_traits//boost_type_traits
1517
<include>include
1618
;
1719

1820
explicit
19-
[ alias boost_tokenizer ]
21+
[ alias boost_tokenizer : : : : <library>$(boost_dependencies) ]
2022
[ alias all : boost_tokenizer example test ]
2123
;
2224

2325
call-if : boost-library tokenizer
2426
;
27+

0 commit comments

Comments
 (0)