From ea4394914c6c32aa92c0c799ba41478cc27abe64 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 | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/build.jam b/build.jam index b561d81..c655191 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/mp11//boost_mp11 ; + project /boost/variant2 : common-requirements - /boost/assert//boost_assert - /boost/config//boost_config - /boost/mp11//boost_mp11 include ; explicit - [ alias boost_variant2 ] + [ alias boost_variant2 : : : : $(boost_dependencies) ] [ alias all : boost_variant2 test ] ; call-if : boost-library variant2 ; +