From 968b47368013f8392a232a53bd1f3202bcb65bce 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 | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/build.jam b/build.jam index d1ec57f..45f2631 100644 --- a/build.jam +++ b/build.jam @@ -5,21 +5,24 @@ require-b2 5.2 ; +constant boost_dependencies : + /boost/config//boost_config + /boost/core//boost_core + /boost/range//boost_range + /boost/static_assert//boost_static_assert + /boost/type_traits//boost_type_traits ; + project /boost/sort : common-requirements - /boost/config//boost_config - /boost/core//boost_core - /boost/range//boost_range - /boost/static_assert//boost_static_assert - /boost/type_traits//boost_type_traits include ; explicit - [ alias boost_sort ] + [ alias boost_sort : : : : $(boost_dependencies) ] [ alias all : boost_sort example test ] ; call-if : boost-library sort ; +