Split b2 dependencies into public and private.

This commit is contained in:
Rene Rivera
2024-07-26 17:43:46 -05:00
parent fdacaf7d6d
commit e3840cf3a6
2 changed files with 5 additions and 1 deletions

View File

@ -9,7 +9,6 @@ constant boost_dependencies :
/boost/assert//boost_assert
/boost/concept_check//boost_concept_check
/boost/config//boost_config
/boost/core//boost_core
/boost/predef//boost_predef
/boost/static_assert//boost_static_assert
/boost/throw_exception//boost_throw_exception

View File

@ -7,10 +7,15 @@ import modules ;
import testing ;
import errors ;
constant boost_dependencies_private :
/boost/core//boost_core
;
project : requirements
# default to all warnings on:
<warnings>all
: common-requirements <library>$(boost_dependencies)
: requirements <library>$(boost_dependencies_private)
;
local disable-icu = [ MATCH (--disable-icu) : [ modules.peek : ARGV ] ] ;