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 4f9487d0f3
commit e86015f9f6

View File

@ -5,22 +5,25 @@
require-b2 5.2 ;
constant boost_dependencies :
/boost/assert//boost_assert
/boost/config//boost_config
/boost/core//boost_core
/boost/move//boost_move
/boost/static_assert//boost_static_assert
/boost/throw_exception//boost_throw_exception
/boost/type_traits//boost_type_traits ;
project /boost/smart_ptr
: common-requirements
<library>/boost/assert//boost_assert
<library>/boost/config//boost_config
<library>/boost/core//boost_core
<library>/boost/move//boost_move
<library>/boost/static_assert//boost_static_assert
<library>/boost/throw_exception//boost_throw_exception
<library>/boost/type_traits//boost_type_traits
<include>include
;
explicit
[ alias boost_smart_ptr ]
[ alias boost_smart_ptr : : : : <library>$(boost_dependencies) ]
[ alias all : boost_smart_ptr test ]
;
call-if : boost-library smart_ptr
;