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 082ae1e commit 1ecfef4
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions build.jam
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,22 @@

require-b2 5.2 ;

constant boost_dependencies :
/boost/config//boost_config
/boost/preprocessor//boost_preprocessor
/boost/static_assert//boost_static_assert
/boost/type_traits//boost_type_traits ;

project /boost/concept_check
: common-requirements
<library>/boost/config//boost_config
<library>/boost/preprocessor//boost_preprocessor
<library>/boost/static_assert//boost_static_assert
<library>/boost/type_traits//boost_type_traits
<include>include
;

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

call-if : boost-library concept_check
;

0 comments on commit 1ecfef4

Please sign in to comment.