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 2b460e255d
commit d6d805ee45
+19 -16
View File
@@ -5,30 +5,33 @@
require-b2 5.2 ;
constant boost_dependencies :
/boost/assert//boost_assert
/boost/bind//boost_bind
/boost/config//boost_config
/boost/core//boost_core
/boost/function//boost_function
/boost/iterator//boost_iterator
/boost/mpl//boost_mpl
/boost/optional//boost_optional
/boost/parameter//boost_parameter
/boost/preprocessor//boost_preprocessor
/boost/smart_ptr//boost_smart_ptr
/boost/throw_exception//boost_throw_exception
/boost/tuple//boost_tuple
/boost/type_traits//boost_type_traits
/boost/variant//boost_variant ;
project /boost/signals2
: common-requirements
<library>/boost/assert//boost_assert
<library>/boost/bind//boost_bind
<library>/boost/config//boost_config
<library>/boost/core//boost_core
<library>/boost/function//boost_function
<library>/boost/iterator//boost_iterator
<library>/boost/mpl//boost_mpl
<library>/boost/optional//boost_optional
<library>/boost/parameter//boost_parameter
<library>/boost/preprocessor//boost_preprocessor
<library>/boost/smart_ptr//boost_smart_ptr
<library>/boost/throw_exception//boost_throw_exception
<library>/boost/tuple//boost_tuple
<library>/boost/type_traits//boost_type_traits
<library>/boost/variant//boost_variant
<include>include
;
explicit
[ alias boost_signals2 ]
[ alias boost_signals2 : : : : <library>$(boost_dependencies) ]
[ alias all : example test ]
;
call-if : boost-library signals2
;