From 36ba0b349bc020994e4c03a7a56f8c7ce65dd3f3 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Tue, 23 Jul 2024 22:34:24 -0500 Subject: [PATCH] Move inter-lib dependencies to a project variable and into the build targets. --- build.jam | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/build.jam b/build.jam index 40abf02..7da8ea9 100644 --- a/build.jam +++ b/build.jam @@ -5,23 +5,26 @@ 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 : common-requirements - /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 include ; explicit - [ alias boost_poly_collection ] + [ alias boost_poly_collection : : : : $(boost_dependencies) ] [ alias all : boost_poly_collection example test ] ; call-if : boost-library poly_collection ; +