From 2ded200bd3fefdb2d0398418ffa5c3bf8c8bf24d 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 | 11 +++++++---- build/Jamfile.v2 | 1 + 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/build.jam b/build.jam index 4c3fe31..ebaf273 100644 --- a/build.jam +++ b/build.jam @@ -5,12 +5,14 @@ require-b2 5.2 ; +constant boost_dependencies : + /boost/assert//boost_assert + /boost/config//boost_config + /boost/intrusive//boost_intrusive + /boost/move//boost_move ; + project /boost/container : common-requirements - /boost/assert//boost_assert - /boost/config//boost_config - /boost/intrusive//boost_intrusive - /boost/move//boost_move include ; @@ -22,3 +24,4 @@ explicit call-if : boost-library container : install boost_container ; + diff --git a/build/Jamfile.v2 b/build/Jamfile.v2 index 85ba10a..f8c672b 100644 --- a/build/Jamfile.v2 +++ b/build/Jamfile.v2 @@ -8,6 +8,7 @@ import sequence ; project : source-location ../src + : common-requirements $(boost_dependencies) : usage-requirements # pass these requirement to dependents (i.e. users) shared:BOOST_CONTAINER_DYN_LINK=1 static:BOOST_CONTAINER_STATIC_LINK=1