From 4b3480740cab3c4bd3678088119cf804813aad74 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 | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/build.jam b/build.jam index 7b4118b..f309864 100644 --- a/build.jam +++ b/build.jam @@ -5,15 +5,17 @@ require-b2 5.2 ; +constant boost_dependencies : + /boost/config//boost_config + /boost/static_assert//boost_static_assert ; + project /boost/type_traits : common-requirements - /boost/config//boost_config - /boost/static_assert//boost_static_assert include ; explicit - [ alias boost_type_traits ] + [ alias boost_type_traits : : : : $(boost_dependencies) ] [ alias all : boost_type_traits test ] # Other Boost lib tests depend on the type_traits test checks. [ alias testing @@ -27,3 +29,4 @@ explicit call-if : boost-library type_traits ; +