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 e6f9ca6 commit 968b473
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions build.jam
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,24 @@

require-b2 5.2 ;

constant boost_dependencies :
/boost/config//boost_config
/boost/core//boost_core
/boost/range//boost_range
/boost/static_assert//boost_static_assert
/boost/type_traits//boost_type_traits ;

project /boost/sort
: common-requirements
<library>/boost/config//boost_config
<library>/boost/core//boost_core
<library>/boost/range//boost_range
<library>/boost/static_assert//boost_static_assert
<library>/boost/type_traits//boost_type_traits
<include>include
;

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

call-if
: boost-library sort
;

0 comments on commit 968b473

Please sign in to comment.