From 05412962a3a183ccd29f28af31cb8ae322142cce 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 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/build.jam b/build.jam index 9cca231..f3e1cf0 100644 --- a/build.jam +++ b/build.jam @@ -5,18 +5,21 @@ require-b2 5.2 ; +constant boost_dependencies : + /boost/assert//boost_assert + /boost/config//boost_config + /boost/context//boost_context ; + project /boost/coroutine2 : common-requirements - /boost/assert//boost_assert - /boost/config//boost_config - /boost/context//boost_context include ; explicit - [ alias boost_coroutine2 ] + [ alias boost_coroutine2 : : : : $(boost_dependencies) ] [ alias all : boost_coroutine2 example test ] ; call-if : boost-library coroutine2 ; +