Split b2 dependencies into public and private.

This commit is contained in:
Rene Rivera
2024-07-26 17:46:20 -05:00
parent aaaa80d148
commit 36f1ea6374
2 changed files with 5 additions and 1 deletions

View File

@@ -11,7 +11,6 @@ constant boost_dependencies :
/boost/config//boost_config
/boost/core//boost_core
/boost/detail//boost_detail
/boost/function//boost_function
/boost/integer//boost_integer
/boost/io//boost_io
/boost/iterator//boost_iterator

View File

@@ -10,11 +10,16 @@ require-b2 5.0.1 ;
import-search /boost/config/checks ;
import config : requires ;
constant boost_dependencies_private :
/boost/function//boost_function
;
project
: source-location ../src
: common-requirements <library>$(boost_dependencies)
: requirements
<conditional>@include-spirit
<library>$(boost_dependencies_private)
: usage-requirements
<define>BOOST_SERIALIZATION_NO_LIB=1
;