diff --git a/build.jam b/build.jam new file mode 100644 index 00000000..961cc3c5 --- /dev/null +++ b/build.jam @@ -0,0 +1,32 @@ +# Copyright René Ferdinand Rivera Morell 2023 +# 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 ; + +project /boost/variant + : common-requirements + /boost/assert//boost_assert + /boost/config//boost_config + /boost/container_hash//boost_container_hash + /boost/core//boost_core + /boost/detail//boost_detail + /boost/integer//boost_integer + /boost/mpl//boost_mpl + /boost/preprocessor//boost_preprocessor + /boost/static_assert//boost_static_assert + /boost/throw_exception//boost_throw_exception + /boost/type_index//boost_type_index + /boost/type_traits//boost_type_traits + /boost/utility//boost_utility + include + ; + +explicit + [ alias boost_variant ] + [ alias all : boost_variant test ] + ; + +call-if : boost-library variant + ; diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index 491be2c0..b256fa47 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -8,8 +8,10 @@ # http://www.boost.org/LICENSE_1_0.txt) # +require-b2 5.0.1 ; +import-search /boost/config/checks ; +import config : requires ; import testing ; -import ../../config/checks/config : requires ; local below_cpp14 = 98 03 0x 11 ; local since_cpp20 = 2a 20 latest ; @@ -30,7 +32,7 @@ test-suite variant [ run test6.cpp : : : : variant_test6 ] [ run test7.cpp : : : : variant_test7 ] [ run test8.cpp : : : : variant_test8 ] - [ run test9.cpp : : : : variant_test9 ] + [ run test9.cpp : : : /boost/fusion//boost_fusion : variant_test9 ] [ run recursive_variant_test.cpp ] [ run variant_reference_test.cpp ] [ run variant_comparison_test.cpp ] @@ -39,7 +41,7 @@ test-suite variant [ run variant_get_test.cpp ] [ compile-fail variant_rvalue_get_with_ampersand_test.cpp ] [ compile-fail no_rvalue_to_nonconst_visitation.cpp ] - [ compile fusion_interop.cpp ] + [ compile fusion_interop.cpp : /boost/fusion//boost_fusion ] [ run variant_polymorphic_get_test.cpp ] [ run variant_multivisit_test.cpp ] [ run hash_variant_test.cpp ] @@ -58,13 +60,13 @@ test-suite variant [ run recursive_variant_test.cpp : : : off BOOST_NO_RTTI BOOST_NO_TYPEID : variant_no_rtti_test ] [ run hash_recursive_variant_test.cpp ] [ run variant_swap_test.cpp ] - [ run auto_visitors.cpp ] + [ run auto_visitors.cpp : : : /boost/lexical_cast//boost_lexical_cast ] [ run issue42.cpp ] - [ run issue53.cpp ] + [ run issue53.cpp : : : /boost/thread//boost_thread ] [ run overload_selection.cpp : : : "$(since_cpp20)"\:no ] - [ run recursive_wrapper_move_test.cpp ] + [ run recursive_wrapper_move_test.cpp : : : /boost/array//boost_array ] [ run variant_over_joint_view_test.cpp ] - [ run const_ref_apply_visitor.cpp ] + [ run const_ref_apply_visitor.cpp : : : /boost/lexical_cast//boost_lexical_cast ] ;