diff --git a/build.jam b/build.jam index 8c83ccaf..8e89f650 100644 --- a/build.jam +++ b/build.jam @@ -5,16 +5,18 @@ require-b2 5.2 ; +constant boost_dependencies : + /boost/assert//boost_assert + /boost/concept_check//boost_concept_check + /boost/config//boost_config + /boost/core//boost_core + /boost/predef//boost_predef + /boost/static_assert//boost_static_assert + /boost/throw_exception//boost_throw_exception + /boost/type_traits//boost_type_traits ; + project /boost/regex : common-requirements - /boost/assert//boost_assert - /boost/concept_check//boost_concept_check - /boost/config//boost_config - /boost/core//boost_core - /boost/predef//boost_predef - /boost/static_assert//boost_static_assert - /boost/throw_exception//boost_throw_exception - /boost/type_traits//boost_type_traits include ; @@ -26,3 +28,4 @@ explicit call-if : boost-library regex : install boost_regex ; + diff --git a/build/Jamfile.v2 b/build/Jamfile.v2 index c8ccd3a5..8062d55b 100644 --- a/build/Jamfile.v2 +++ b/build/Jamfile.v2 @@ -10,6 +10,7 @@ import errors ; project : requirements # default to all warnings on: all + : common-requirements $(boost_dependencies) ; local disable-icu = [ MATCH (--disable-icu) : [ modules.peek : ARGV ] ] ;