From 32ce058ebe678d76ed370e80f64dcdb3d8a741d6 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 | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/build.jam b/build.jam index 22db5a47..1cdd034c 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/mp11//boost_mp11 + /boost/predef//boost_predef + /boost/throw_exception//boost_throw_exception ; + project /boost/unordered : common-requirements - /boost/assert//boost_assert - /boost/config//boost_config - /boost/container_hash//boost_container_hash - /boost/core//boost_core - /boost/mp11//boost_mp11 - /boost/predef//boost_predef - /boost/throw_exception//boost_throw_exception include ; explicit - [ alias boost_unordered ] + [ alias boost_unordered : : : : $(boost_dependencies) ] [ alias all : boost_unordered test ] ; call-if : boost-library unordered ; +