From b5bf79462ea4daec98424865a6fb95c0b47b4fab 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 | 17 ++++++++++------- build/Jamfile.v2 | 1 + 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/build.jam b/build.jam index aca7d18d..95811511 100644 --- a/build.jam +++ b/build.jam @@ -5,15 +5,17 @@ require-b2 5.2 ; +constant boost_dependencies : + /boost/assert//boost_assert + /boost/config//boost_config + /boost/core//boost_core + /boost/smart_ptr//boost_smart_ptr + /boost/throw_exception//boost_throw_exception + /boost/tuple//boost_tuple + /boost/type_traits//boost_type_traits ; + project /boost/exception : common-requirements - /boost/assert//boost_assert - /boost/config//boost_config - /boost/core//boost_core - /boost/smart_ptr//boost_smart_ptr - /boost/throw_exception//boost_throw_exception - /boost/tuple//boost_tuple - /boost/type_traits//boost_type_traits include ; @@ -25,3 +27,4 @@ explicit call-if : boost-library exception : install boost_exception ; + diff --git a/build/Jamfile.v2 b/build/Jamfile.v2 index afa08709..86858ce1 100644 --- a/build/Jamfile.v2 +++ b/build/Jamfile.v2 @@ -7,6 +7,7 @@ project : source-location ../src + : common-requirements $(boost_dependencies) : requirements static : usage-requirements BOOST_EXCEPTION_NO_LIB=1 ;