Move inter-lib dependencies to a project variable and into the build targets.

This commit is contained in:
Rene Rivera
2024-07-23 22:34:23 -05:00
parent fc10453994
commit 40e2a2d4d8

View File

@ -5,20 +5,23 @@
require-b2 5.2 ;
constant boost_dependencies :
/boost/assert//boost_assert
/boost/config//boost_config
/boost/core//boost_core
/boost/static_assert//boost_static_assert
/boost/throw_exception//boost_throw_exception ;
project /boost/array
: common-requirements
<library>/boost/assert//boost_assert
<library>/boost/config//boost_config
<library>/boost/core//boost_core
<library>/boost/static_assert//boost_static_assert
<library>/boost/throw_exception//boost_throw_exception
<include>include
;
explicit
[ alias boost_array ]
[ alias boost_array : : : : <library>$(boost_dependencies) ]
[ alias all : boost_array test ]
;
call-if : boost-library array
;