Skip to content

Commit

Permalink
Move inter-lib dependencies to a project variable and into the build …
Browse files Browse the repository at this point in the history
…targets.
  • Loading branch information
grafikrobot authored and jeking3 committed Nov 29, 2024
1 parent f778402 commit 23c2f1c
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions build.jam
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,25 @@

require-b2 5.2 ;

constant boost_dependencies :
/boost/assert//boost_assert
/boost/config//boost_config
/boost/integer//boost_integer
/boost/throw_exception//boost_throw_exception
/boost/type_traits//boost_type_traits
/boost/winapi//boost_winapi ;

project /boost/pool
: common-requirements
<library>/boost/assert//boost_assert
<library>/boost/config//boost_config
<library>/boost/integer//boost_integer
<library>/boost/throw_exception//boost_throw_exception
<library>/boost/type_traits//boost_type_traits
<library>/boost/winapi//boost_winapi
<include>include
;

explicit
[ alias boost_pool ]
[ alias boost_pool : : : : <library>$(boost_dependencies) ]
[ alias all : boost_pool example test ]
;

call-if
: boost-library pool
;

0 comments on commit 23c2f1c

Please sign in to comment.