Skip to content

Commit

Permalink
Split b2 dependencies into public and private.
Browse files Browse the repository at this point in the history
  • Loading branch information
grafikrobot committed Jul 26, 2024
1 parent aaaa80d commit 36f1ea6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 0 additions & 1 deletion build.jam
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions build/Jamfile.v2
Original file line number Diff line number Diff line change
Expand Up @@ -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
;
Expand Down

0 comments on commit 36f1ea6

Please sign in to comment.