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 2b95302 commit c1dd2da
Showing 1 changed file with 16 additions and 13 deletions.
29 changes: 16 additions & 13 deletions build.jam
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,30 @@

require-b2 5.2 ;

constant boost_dependencies :
/boost/assert//boost_assert
/boost/concept_check//boost_concept_check
/boost/config//boost_config
/boost/container_hash//boost_container_hash
/boost/core//boost_core
/boost/filesystem//boost_filesystem
/boost/integer//boost_integer
/boost/iterator//boost_iterator
/boost/mp11//boost_mp11
/boost/preprocessor//boost_preprocessor
/boost/type_traits//boost_type_traits
/boost/variant2//boost_variant2 ;

project /boost/gil
: common-requirements
<library>/boost/assert//boost_assert
<library>/boost/concept_check//boost_concept_check
<library>/boost/config//boost_config
<library>/boost/container_hash//boost_container_hash
<library>/boost/core//boost_core
<library>/boost/filesystem//boost_filesystem
<library>/boost/integer//boost_integer
<library>/boost/iterator//boost_iterator
<library>/boost/mp11//boost_mp11
<library>/boost/preprocessor//boost_preprocessor
<library>/boost/type_traits//boost_type_traits
<library>/boost/variant2//boost_variant2
<include>include
;

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

call-if : boost-library gil
;

0 comments on commit c1dd2da

Please sign in to comment.