Skip to content

Commit 1ecfef4

Browse files
grafikrobotjeking3
authored andcommitted
Move inter-lib dependencies to a project variable and into the build targets.
1 parent 082ae1e commit 1ecfef4

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

build.jam

+8-5
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,22 @@
55

66
require-b2 5.2 ;
77

8+
constant boost_dependencies :
9+
/boost/config//boost_config
10+
/boost/preprocessor//boost_preprocessor
11+
/boost/static_assert//boost_static_assert
12+
/boost/type_traits//boost_type_traits ;
13+
814
project /boost/concept_check
915
: common-requirements
10-
<library>/boost/config//boost_config
11-
<library>/boost/preprocessor//boost_preprocessor
12-
<library>/boost/static_assert//boost_static_assert
13-
<library>/boost/type_traits//boost_type_traits
1416
<include>include
1517
;
1618

1719
explicit
18-
[ alias boost_concept_check ]
20+
[ alias boost_concept_check : : : : <library>$(boost_dependencies) ]
1921
[ alias all : boost_concept_check test ]
2022
;
2123

2224
call-if : boost-library concept_check
2325
;
26+

0 commit comments

Comments
 (0)