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
parent 4f1d67cc34
commit 36ba0b349b
+12 -9
View File
@@ -5,23 +5,26 @@
require-b2 5.2 ; require-b2 5.2 ;
constant boost_dependencies :
/boost/assert//boost_assert
/boost/config//boost_config
/boost/core//boost_core
/boost/iterator//boost_iterator
/boost/mp11//boost_mp11
/boost/mpl//boost_mpl
/boost/type_erasure//boost_type_erasure
/boost/type_traits//boost_type_traits ;
project /boost/poly_collection project /boost/poly_collection
: common-requirements : common-requirements
<library>/boost/assert//boost_assert
<library>/boost/config//boost_config
<library>/boost/core//boost_core
<library>/boost/iterator//boost_iterator
<library>/boost/mp11//boost_mp11
<library>/boost/mpl//boost_mpl
<library>/boost/type_erasure//boost_type_erasure
<library>/boost/type_traits//boost_type_traits
<include>include <include>include
; ;
explicit explicit
[ alias boost_poly_collection ] [ alias boost_poly_collection : : : : <library>$(boost_dependencies) ]
[ alias all : boost_poly_collection example test ] [ alias all : boost_poly_collection example test ]
; ;
call-if : boost-library poly_collection call-if : boost-library poly_collection
; ;