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:23 -05:00
parent 149bd2222e
commit 05412962a3

View File

@ -5,18 +5,21 @@
require-b2 5.2 ; require-b2 5.2 ;
constant boost_dependencies :
/boost/assert//boost_assert
/boost/config//boost_config
/boost/context//boost_context ;
project /boost/coroutine2 project /boost/coroutine2
: common-requirements : common-requirements
<library>/boost/assert//boost_assert
<library>/boost/config//boost_config
<library>/boost/context//boost_context
<include>include <include>include
; ;
explicit explicit
[ alias boost_coroutine2 ] [ alias boost_coroutine2 : : : : <library>$(boost_dependencies) ]
[ alias all : boost_coroutine2 example test ] [ alias all : boost_coroutine2 example test ]
; ;
call-if : boost-library coroutine2 call-if : boost-library coroutine2
; ;