From 21e43b4ec81874aba071f2fbd59f3f48898cf932 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Tue, 23 Jul 2024 22:34:23 -0500 Subject: [PATCH] Move inter-lib dependencies to a project variable and into the build targets. --- build.jam | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/build.jam b/build.jam index dbccde884..80964a55c 100644 --- a/build.jam +++ b/build.jam @@ -5,27 +5,30 @@ require-b2 5.2 ; +constant boost_dependencies : + /boost/config//boost_config + /boost/container_hash//boost_container_hash + /boost/core//boost_core + /boost/function_types//boost_function_types + /boost/functional//boost_functional + /boost/mpl//boost_mpl + /boost/preprocessor//boost_preprocessor + /boost/static_assert//boost_static_assert + /boost/tuple//boost_tuple + /boost/type_traits//boost_type_traits + /boost/typeof//boost_typeof + /boost/utility//boost_utility ; + project /boost/fusion : common-requirements - /boost/config//boost_config - /boost/container_hash//boost_container_hash - /boost/core//boost_core - /boost/function_types//boost_function_types - /boost/functional//boost_functional - /boost/mpl//boost_mpl - /boost/preprocessor//boost_preprocessor - /boost/static_assert//boost_static_assert - /boost/tuple//boost_tuple - /boost/type_traits//boost_type_traits - /boost/typeof//boost_typeof - /boost/utility//boost_utility include ; explicit - [ alias boost_fusion ] + [ alias boost_fusion : : : : $(boost_dependencies) ] [ alias all : boost_fusion test ] ; call-if : boost-library fusion ; +