From bd56ab5976258dbe1346c46cb3807969c8aa92f7 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Tue, 23 Jul 2024 22:34:22 -0500 Subject: [PATCH] Move inter-lib dependencies to a project variable and into the build targets. --- build.jam | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/build.jam b/build.jam index 1651af5..57bf984 100644 --- a/build.jam +++ b/build.jam @@ -5,25 +5,28 @@ require-b2 5.2 ; +constant boost_dependencies : + /boost/bind//boost_bind + /boost/config//boost_config + /boost/core//boost_core + /boost/detail//boost_detail + /boost/iterator//boost_iterator + /boost/mpl//boost_mpl + /boost/preprocessor//boost_preprocessor + /boost/tuple//boost_tuple + /boost/type_traits//boost_type_traits + /boost/utility//boost_utility ; + project /boost/lambda : common-requirements - /boost/bind//boost_bind - /boost/config//boost_config - /boost/core//boost_core - /boost/detail//boost_detail - /boost/iterator//boost_iterator - /boost/mpl//boost_mpl - /boost/preprocessor//boost_preprocessor - /boost/tuple//boost_tuple - /boost/type_traits//boost_type_traits - /boost/utility//boost_utility include ; explicit - [ alias boost_lambda ] + [ alias boost_lambda : : : : $(boost_dependencies) ] [ alias all : boost_lambda test ] ; call-if : boost-library lambda ; +