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:22 -05:00
parent dfe1915930
commit bf10cf91c2

View File

@ -5,24 +5,27 @@
require-b2 5.2 ;
constant boost_dependencies :
/boost/assert//boost_assert
/boost/config//boost_config
/boost/core//boost_core
/boost/move//boost_move
/boost/predef//boost_predef
/boost/static_assert//boost_static_assert
/boost/throw_exception//boost_throw_exception
/boost/type_traits//boost_type_traits
/boost/utility//boost_utility ;
project /boost/optional
: common-requirements
<library>/boost/assert//boost_assert
<library>/boost/config//boost_config
<library>/boost/core//boost_core
<library>/boost/move//boost_move
<library>/boost/predef//boost_predef
<library>/boost/static_assert//boost_static_assert
<library>/boost/throw_exception//boost_throw_exception
<library>/boost/type_traits//boost_type_traits
<library>/boost/utility//boost_utility
<include>include
;
explicit
[ alias boost_optional ]
[ alias boost_optional : : : : <library>$(boost_dependencies) ]
[ alias all : boost_optional test ]
;
call-if : boost-library optional
;