From a0ea1e5f90a6b691db5e8a32bf53a60802ec74bb 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 | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/build.jam b/build.jam index 24cd5ed..759526f 100644 --- a/build.jam +++ b/build.jam @@ -5,17 +5,20 @@ require-b2 5.2 ; +constant boost_dependencies : + /boost/assert//boost_assert + /boost/config//boost_config ; + project /boost/throw_exception : common-requirements - /boost/assert//boost_assert - /boost/config//boost_config include ; explicit - [ alias boost_throw_exception ] + [ alias boost_throw_exception : : : : $(boost_dependencies) ] [ alias all : boost_throw_exception test ] ; call-if : boost-library throw_exception ; +