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 committed Jul 24, 2024
1 parent 5a26ac0 commit 21e43b4
Showing 1 changed file with 16 additions and 13 deletions.
29 changes: 16 additions & 13 deletions build.jam
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,30 @@

require-b2 5.2 ;

constant boost_dependencies :
/boost/config//boost_config
/boost/container_hash//boost_container_hash
/boost/core//boost_core
/boost/function_types//boost_function_types
/boost/functional//boost_functional
/boost/mpl//boost_mpl
/boost/preprocessor//boost_preprocessor
/boost/static_assert//boost_static_assert
/boost/tuple//boost_tuple
/boost/type_traits//boost_type_traits
/boost/typeof//boost_typeof
/boost/utility//boost_utility ;

project /boost/fusion
: common-requirements
<library>/boost/config//boost_config
<library>/boost/container_hash//boost_container_hash
<library>/boost/core//boost_core
<library>/boost/function_types//boost_function_types
<library>/boost/functional//boost_functional
<library>/boost/mpl//boost_mpl
<library>/boost/preprocessor//boost_preprocessor
<library>/boost/static_assert//boost_static_assert
<library>/boost/tuple//boost_tuple
<library>/boost/type_traits//boost_type_traits
<library>/boost/typeof//boost_typeof
<library>/boost/utility//boost_utility
<include>include
;

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

call-if : boost-library fusion
;

0 comments on commit 21e43b4

Please sign in to comment.