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 63c98aa commit 79b7991
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,21 +5,24 @@

require-b2 5.2 ;

constant boost_dependencies :
/boost/concept_check//boost_concept_check
/boost/config//boost_config
/boost/core//boost_core
/boost/integer//boost_integer
/boost/logic//boost_logic
/boost/mp11//boost_mp11 ;

project /boost/safe_numerics
: common-requirements
<library>/boost/concept_check//boost_concept_check
<library>/boost/config//boost_config
<library>/boost/core//boost_core
<library>/boost/integer//boost_integer
<library>/boost/logic//boost_logic
<library>/boost/mp11//boost_mp11
<include>include
;

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

call-if : boost-library safe_numerics
;

0 comments on commit 79b7991

Please # to comment.