Move inter-lib dependencies to a project variable and into the build targets.

This commit is contained in:
Rene Rivera
2024-07-23 22:34:23 -05:00
parent c883891e23
commit 02fa9ea001

View File

@@ -5,28 +5,31 @@
require-b2 5.2 ;
constant boost_dependencies :
/boost/assert//boost_assert
/boost/config//boost_config
/boost/container_hash//boost_container_hash
/boost/core//boost_core
/boost/detail//boost_detail
/boost/interprocess//boost_interprocess
/boost/mpl//boost_mpl
/boost/multi_index//boost_multi_index
/boost/parameter//boost_parameter
/boost/preprocessor//boost_preprocessor
/boost/smart_ptr//boost_smart_ptr
/boost/throw_exception//boost_throw_exception
/boost/type_traits//boost_type_traits ;
project /boost/flyweight
: common-requirements
<library>/boost/assert//boost_assert
<library>/boost/config//boost_config
<library>/boost/container_hash//boost_container_hash
<library>/boost/core//boost_core
<library>/boost/detail//boost_detail
<library>/boost/interprocess//boost_interprocess
<library>/boost/mpl//boost_mpl
<library>/boost/multi_index//boost_multi_index
<library>/boost/parameter//boost_parameter
<library>/boost/preprocessor//boost_preprocessor
<library>/boost/smart_ptr//boost_smart_ptr
<library>/boost/throw_exception//boost_throw_exception
<library>/boost/type_traits//boost_type_traits
<include>include
;
explicit
[ alias boost_flyweight ]
[ alias boost_flyweight : : : : <library>$(boost_dependencies) ]
[ alias all : boost_flyweight example test ]
;
call-if : boost-library flyweight
;