From ccbb58b77440ee6a1c79fdb79f8bdde19242c252 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Tue, 23 Jul 2024 22:34:22 -0500 Subject: [PATCH] Move inter-lib dependencies to a project variable and into the build targets. --- build.jam | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/build.jam b/build.jam index 4e0e330..38f04bf 100644 --- a/build.jam +++ b/build.jam @@ -5,19 +5,22 @@ require-b2 5.2 ; +constant boost_dependencies : + /boost/config//boost_config + /boost/core//boost_core + /boost/static_assert//boost_static_assert + /boost/type_traits//boost_type_traits ; + project /boost/tuple : common-requirements - /boost/config//boost_config - /boost/core//boost_core - /boost/static_assert//boost_static_assert - /boost/type_traits//boost_type_traits include ; explicit - [ alias boost_tuple ] + [ alias boost_tuple : : : : $(boost_dependencies) ] [ alias all : boost_tuple test ] ; call-if : boost-library tuple ; +