From a3cc7bcf95725f58b9019452fa47dba5e6739613 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 | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/build.jam b/build.jam index b1af38f..9ab25d5 100644 --- a/build.jam +++ b/build.jam @@ -5,22 +5,25 @@ require-b2 5.2 ; +constant boost_dependencies : + /boost/assert//boost_assert + /boost/config//boost_config + /boost/container_hash//boost_container_hash + /boost/core//boost_core + /boost/static_assert//boost_static_assert + /boost/throw_exception//boost_throw_exception + /boost/utility//boost_utility ; + project /boost/static_string : common-requirements - /boost/assert//boost_assert - /boost/config//boost_config - /boost/container_hash//boost_container_hash - /boost/core//boost_core - /boost/static_assert//boost_static_assert - /boost/throw_exception//boost_throw_exception - /boost/utility//boost_utility include ; explicit - [ alias boost_static_string ] + [ alias boost_static_string : : : : $(boost_dependencies) ] [ alias all : boost_static_string test ] ; call-if : boost-library static_string ; +