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 5cb4c1d commit e4e34a1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 0 additions & 2 deletions build.jam
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,9 @@
require-b2 5.2 ;

constant boost_dependencies :
/boost/align//boost_align
/boost/assert//boost_assert
/boost/config//boost_config
/boost/predef//boost_predef
/boost/preprocessor//boost_preprocessor
/boost/type_traits//boost_type_traits
/boost/winapi//boost_winapi ;

Expand Down
6 changes: 6 additions & 0 deletions build/Jamfile.v2
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,15 @@ local cxx_requirements = [ requires
cxx11_static_assert
] ;

constant boost_dependencies_private :
/boost/align//boost_align
/boost/preprocessor//boost_preprocessor
;

project
: common-requirements <library>$(boost_dependencies)
: requirements
<library>$(boost_dependencies_private)
<include>../src
<threading>multi
<link>shared:<define>BOOST_ATOMIC_DYN_LINK=1
Expand Down

0 comments on commit e4e34a1

Please sign in to comment.