From 60bfa7261884752b3fcb4d8eea21fe21002938bd 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 | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/build.jam b/build.jam index fedbef1..1c97076 100644 --- a/build.jam +++ b/build.jam @@ -5,22 +5,25 @@ require-b2 5.2 ; +constant boost_dependencies : + /boost/config//boost_config + /boost/core//boost_core + /boost/detail//boost_detail + /boost/mpl//boost_mpl + /boost/preprocessor//boost_preprocessor + /boost/type_traits//boost_type_traits ; + project /boost/function_types : common-requirements - /boost/config//boost_config - /boost/core//boost_core - /boost/detail//boost_detail - /boost/mpl//boost_mpl - /boost/preprocessor//boost_preprocessor - /boost/type_traits//boost_type_traits include ; explicit - [ alias boost_function_types ] + [ alias boost_function_types : : : : $(boost_dependencies) ] [ alias all : boost_function_types example test ] ; call-if : boost-library function_types : install boost_function_types ; +