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 edd5bc27ed
commit 0daa9f439e

View File

@ -5,21 +5,24 @@
require-b2 5.2 ;
constant boost_dependencies :
/boost/assert//boost_assert
/boost/bind//boost_bind
/boost/config//boost_config
/boost/core//boost_core
/boost/throw_exception//boost_throw_exception
/boost/type_traits//boost_type_traits ;
project /boost/function
: common-requirements
<library>/boost/assert//boost_assert
<library>/boost/bind//boost_bind
<library>/boost/config//boost_config
<library>/boost/core//boost_core
<library>/boost/throw_exception//boost_throw_exception
<library>/boost/type_traits//boost_type_traits
<include>include
;
explicit
[ alias boost_function ]
[ alias boost_function : : : : <library>$(boost_dependencies) ]
[ alias all : boost_function example test ]
;
call-if : boost-library function
;