diff --git a/build.jam b/build.jam index ffcab4d..b65b965 100644 --- a/build.jam +++ b/build.jam @@ -5,26 +5,28 @@ require-b2 5.2 ; +constant boost_dependencies : + /boost/assert//boost_assert + /boost/config//boost_config + /boost/core//boost_core + /boost/foreach//boost_foreach + /boost/function//boost_function + /boost/graph//boost_graph + /boost/integer//boost_integer + /boost/iterator//boost_iterator + /boost/lexical_cast//boost_lexical_cast + /boost/mpl//boost_mpl + /boost/optional//boost_optional + /boost/python//boost_python + /boost/serialization//boost_serialization + /boost/smart_ptr//boost_smart_ptr + /boost/static_assert//boost_static_assert + /boost/throw_exception//boost_throw_exception + /boost/type_traits//boost_type_traits + /boost/utility//boost_utility ; + project /boost/mpi : common-requirements - /boost/assert//boost_assert - /boost/config//boost_config - /boost/core//boost_core - /boost/foreach//boost_foreach - /boost/function//boost_function - /boost/graph//boost_graph - /boost/integer//boost_integer - /boost/iterator//boost_iterator - /boost/lexical_cast//boost_lexical_cast - /boost/mpl//boost_mpl - /boost/optional//boost_optional - /boost/python//boost_python - /boost/serialization//boost_serialization - /boost/smart_ptr//boost_smart_ptr - /boost/static_assert//boost_static_assert - /boost/throw_exception//boost_throw_exception - /boost/type_traits//boost_type_traits - /boost/utility//boost_utility include ; @@ -38,3 +40,4 @@ explicit call-if : boost-library mpi : install boost_mpi boost_mpi_python mpi ; + diff --git a/build/Jamfile.v2 b/build/Jamfile.v2 index 7d49925..ec68ebb 100644 --- a/build/Jamfile.v2 +++ b/build/Jamfile.v2 @@ -28,6 +28,7 @@ if [ mpi.configured ] project : source-location ../src + : common-requirements $(boost_dependencies) ; lib boost_mpi