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 63a4fe4 commit 72fc1cd
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions build.jam
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,21 @@

require-b2 5.2 ;

constant boost_dependencies :
/boost/config//boost_config
/boost/detail//boost_detail
/boost/logic//boost_logic ;

project /boost/interval
: common-requirements
<library>/boost/config//boost_config
<library>/boost/detail//boost_detail
<library>/boost/logic//boost_logic
<include>include
;

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

call-if : boost-library interval
;

0 comments on commit 72fc1cd

Please sign in to comment.