From 953437695b9e3c3dc9165355b30a0b6b217c6123 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 | 17 ++++++++++------- build/Jamfile.v2 | 1 + 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/build.jam b/build.jam index faa4333b..b450ad36 100644 --- a/build.jam +++ b/build.jam @@ -11,15 +11,17 @@ import feature ; import os ; import predef ; +constant boost_dependencies : + /boost/assert//boost_assert + /boost/config//boost_config + /boost/core//boost_core + /boost/mp11//boost_mp11 + /boost/pool//boost_pool + /boost/predef//boost_predef + /boost/smart_ptr//boost_smart_ptr ; + project /boost/context : common-requirements - /boost/assert//boost_assert - /boost/config//boost_config - /boost/core//boost_core - /boost/mp11//boost_mp11 - /boost/pool//boost_pool - /boost/predef//boost_predef - /boost/smart_ptr//boost_smart_ptr include : requirements # Auto-detect toolset default address-model and architecture. @@ -88,3 +90,4 @@ explicit call-if : boost-library context : install boost_context ; + diff --git a/build/Jamfile.v2 b/build/Jamfile.v2 index 4feff766..2a753bde 100644 --- a/build/Jamfile.v2 +++ b/build/Jamfile.v2 @@ -17,6 +17,7 @@ import config : requires ; import feature ; project + : common-requirements $(boost_dependencies) : requirements windows:_WIN32_WINNT=0x0601 linux,gcc,on:-fsplit-stack