diff --git a/build.jam b/build.jam new file mode 100644 index 0000000..fff19f0 --- /dev/null +++ b/build.jam @@ -0,0 +1,27 @@ +# 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/config//boost_config + /boost/core//boost_core + /boost/iterator//boost_iterator + /boost/mpl//boost_mpl + /boost/range//boost_range + /boost/type_traits//boost_type_traits ; + +project /boost/foreach + ; + +explicit + [ alias boost_foreach : : : + : include $(boost_dependencies) ] + [ alias all : boost_foreach test ] + ; + +call-if : boost-library foreach + ; + diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index 084c5c8..37e1ab8 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -5,7 +5,8 @@ # bring in rules for testing import testing ; -project : requirements msvc:on ; +project : requirements msvc:on + /boost/foreach//boost_foreach ; test-suite "foreach" : [ run stl_byval.cpp ]