From 42d0c5954a50e2f468681942a72f45690d9ef614 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 | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/build.jam b/build.jam index 4f080ed..4b15d34 100644 --- a/build.jam +++ b/build.jam @@ -5,19 +5,22 @@ require-b2 5.2 ; +constant boost_dependencies : + /boost/assert//boost_assert + /boost/config//boost_config + /boost/static_assert//boost_static_assert + /boost/throw_exception//boost_throw_exception ; + project /boost/core : common-requirements - /boost/assert//boost_assert - /boost/config//boost_config - /boost/static_assert//boost_static_assert - /boost/throw_exception//boost_throw_exception include ; explicit - [ alias boost_core ] + [ alias boost_core : : : : $(boost_dependencies) ] [ alias all : boost_core test ] ; call-if : boost-library core ; +