diff --git a/build.jam b/build.jam index 4c3fe31..ebaf273 100644 --- a/build.jam +++ b/build.jam @@ -5,12 +5,14 @@ require-b2 5.2 ; +constant boost_dependencies : + /boost/assert//boost_assert + /boost/config//boost_config + /boost/intrusive//boost_intrusive + /boost/move//boost_move ; + project /boost/container : common-requirements - /boost/assert//boost_assert - /boost/config//boost_config - /boost/intrusive//boost_intrusive - /boost/move//boost_move include ; @@ -22,3 +24,4 @@ explicit call-if : boost-library container : install boost_container ; + diff --git a/build/Jamfile.v2 b/build/Jamfile.v2 index 85ba10a..f8c672b 100644 --- a/build/Jamfile.v2 +++ b/build/Jamfile.v2 @@ -8,6 +8,7 @@ import sequence ; project : source-location ../src + : common-requirements $(boost_dependencies) : usage-requirements # pass these requirement to dependents (i.e. users) shared:BOOST_CONTAINER_DYN_LINK=1 static:BOOST_CONTAINER_STATIC_LINK=1