diff --git a/build.jam b/build.jam new file mode 100644 index 0000000..97d068e --- /dev/null +++ b/build.jam @@ -0,0 +1,37 @@ +# Copyright René Ferdinand Rivera Morell 2023-2024 +# Distributed under the Boost Software License, Version 1.0. +# (See accompanying file LICENSE_1_0.txt or copy at +# http://www.boost.org/LICENSE_1_0.txt) + +require-b2 5.2 ; + +constant boost_dependencies : + /boost/array//boost_array + /boost/assert//boost_assert + /boost/concept_check//boost_concept_check + /boost/config//boost_config + /boost/container_hash//boost_container_hash + /boost/conversion//boost_conversion + /boost/core//boost_core + /boost/detail//boost_detail + /boost/iterator//boost_iterator + /boost/mpl//boost_mpl + /boost/optional//boost_optional + /boost/preprocessor//boost_preprocessor + /boost/regex//boost_regex + /boost/static_assert//boost_static_assert + /boost/tuple//boost_tuple + /boost/type_traits//boost_type_traits + /boost/utility//boost_utility ; + +project /boost/range + ; + +explicit + [ alias boost_range : : : + : include $(boost_dependencies) ] + [ alias all : boost_range test ] + ; + +call-if : boost-library range + ; diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index cd2774e..4396ba8 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -14,19 +14,23 @@ import testing ; project : requirements - /boost/test//boost_unit_test_framework/ - /boost/regex//boost_regex/ + /boost/assign//boost_assign + /boost/foreach//boost_foreach + /boost/lambda//boost_lambda + /boost/regex//boost_regex/static + /boost/test//boost_unit_test_framework + /boost/variant//boost_variant static multi ; -rule range-test ( name : includes * ) +rule range-test ( name : requirements * ) { return [ - run $(name).cpp /boost/test//boost_unit_test_framework /boost/regex//boost_regex/static + run $(name).cpp : : - : gcc:"-Wall -Wunused " + : gcc:"-Wall -Wunused " $(requirements) ] ; } @@ -67,7 +71,7 @@ test-suite range : [ range-test adaptor_test/sliced ] [ range-test adaptor_test/strided ] [ range-test adaptor_test/strided2 ] - [ range-test adaptor_test/ticket_6742_transformed_c4789_warning ] + [ range-test adaptor_test/ticket_6742_transformed_c4789_warning : /boost/phoenix//boost_phoenix ] [ range-test adaptor_test/ticket_8676_sliced_transformed ] [ range-test adaptor_test/ticket_9519_strided_reversed ] [ range-test adaptor_test/tokenized ]