Skip to content

Commit c1dd2da

Browse files
committed
Move inter-lib dependencies to a project variable and into the build targets.
1 parent 2b95302 commit c1dd2da

File tree

1 file changed

+16
-13
lines changed

1 file changed

+16
-13
lines changed

build.jam

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,27 +5,30 @@
55

66
require-b2 5.2 ;
77

8+
constant boost_dependencies :
9+
/boost/assert//boost_assert
10+
/boost/concept_check//boost_concept_check
11+
/boost/config//boost_config
12+
/boost/container_hash//boost_container_hash
13+
/boost/core//boost_core
14+
/boost/filesystem//boost_filesystem
15+
/boost/integer//boost_integer
16+
/boost/iterator//boost_iterator
17+
/boost/mp11//boost_mp11
18+
/boost/preprocessor//boost_preprocessor
19+
/boost/type_traits//boost_type_traits
20+
/boost/variant2//boost_variant2 ;
21+
822
project /boost/gil
923
: common-requirements
10-
<library>/boost/assert//boost_assert
11-
<library>/boost/concept_check//boost_concept_check
12-
<library>/boost/config//boost_config
13-
<library>/boost/container_hash//boost_container_hash
14-
<library>/boost/core//boost_core
15-
<library>/boost/filesystem//boost_filesystem
16-
<library>/boost/integer//boost_integer
17-
<library>/boost/iterator//boost_iterator
18-
<library>/boost/mp11//boost_mp11
19-
<library>/boost/preprocessor//boost_preprocessor
20-
<library>/boost/type_traits//boost_type_traits
21-
<library>/boost/variant2//boost_variant2
2224
<include>include
2325
;
2426

2527
explicit
26-
[ alias boost_gil ]
28+
[ alias boost_gil : : : : <library>$(boost_dependencies) ]
2729
[ alias all : boost_gil example test ]
2830
;
2931

3032
call-if : boost-library gil
3133
;
34+

0 commit comments

Comments
 (0)