Move inter-lib dependencies to a project variable and into the build targets.

This commit is contained in:
Rene Rivera
2024-07-23 22:34:24 -05:00
parent 2ffcfc14ee
commit a0ea1e5f90

View File

@@ -5,17 +5,20 @@
require-b2 5.2 ; require-b2 5.2 ;
constant boost_dependencies :
/boost/assert//boost_assert
/boost/config//boost_config ;
project /boost/throw_exception project /boost/throw_exception
: common-requirements : common-requirements
<library>/boost/assert//boost_assert
<library>/boost/config//boost_config
<include>include <include>include
; ;
explicit explicit
[ alias boost_throw_exception ] [ alias boost_throw_exception : : : : <library>$(boost_dependencies) ]
[ alias all : boost_throw_exception test ] [ alias all : boost_throw_exception test ]
; ;
call-if : boost-library throw_exception call-if : boost-library throw_exception
; ;