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 2c52601 commit b84db5a
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/assert//boost_assert
/boost/config//boost_config
/boost/throw_exception//boost_throw_exception
/boost/type_traits//boost_type_traits ;

project /boost/uuid
: common-requirements
<library>/boost/assert//boost_assert
<library>/boost/config//boost_config
<library>/boost/throw_exception//boost_throw_exception
<library>/boost/type_traits//boost_type_traits
<include>include
;

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

call-if : boost-library uuid
;

0 comments on commit b84db5a

Please sign in to comment.