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:24 -05:00
committed by Peter Dimov
parent 70578731e7
commit a3cc7bcf95

View File

@ -5,22 +5,25 @@
require-b2 5.2 ;
constant boost_dependencies :
/boost/assert//boost_assert
/boost/config//boost_config
/boost/container_hash//boost_container_hash
/boost/core//boost_core
/boost/static_assert//boost_static_assert
/boost/throw_exception//boost_throw_exception
/boost/utility//boost_utility ;
project /boost/static_string
: common-requirements
<library>/boost/assert//boost_assert
<library>/boost/config//boost_config
<library>/boost/container_hash//boost_container_hash
<library>/boost/core//boost_core
<library>/boost/static_assert//boost_static_assert
<library>/boost/throw_exception//boost_throw_exception
<library>/boost/utility//boost_utility
<include>include
;
explicit
[ alias boost_static_string ]
[ alias boost_static_string : : : : <library>$(boost_dependencies) ]
[ alias all : boost_static_string test ]
;
call-if : boost-library static_string
;