diff --git a/build.jam b/build.jam new file mode 100644 index 0000000..c655191 --- /dev/null +++ b/build.jam @@ -0,0 +1,25 @@ +# 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/assert//boost_assert + /boost/config//boost_config + /boost/mp11//boost_mp11 ; + +project /boost/variant2 + : common-requirements + include + ; + +explicit + [ alias boost_variant2 : : : : $(boost_dependencies) ] + [ alias all : boost_variant2 test ] + ; + +call-if : boost-library variant2 + ; + diff --git a/test/Jamfile b/test/Jamfile index d7e92fb..2592d01 100644 --- a/test/Jamfile +++ b/test/Jamfile @@ -7,7 +7,8 @@ # http://www.boost.org/LICENSE_1_0.txt import testing ; -import ../../config/checks/config : requires ; +import-search /boost/config/checks ; +import config : requires ; project : default-build @@ -15,10 +16,14 @@ project extra : requirements + /boost/config//boost_config + /boost/container_hash//boost_container_hash + /boost/core//boost_core msvc:on gcc:on clang:on + ; run quick.cpp ; @@ -125,7 +130,7 @@ run variant_visit_by_index.cpp ; run variant_ostream_insert.cpp ; run is_output_streamable.cpp ; -local JSON = /boost//json/off "msvc-14.0:no" "msvc-14.2:-wd5104" "norecover:static" ; +local JSON = /boost/json//boost_json/off "msvc-14.0:no" "msvc-14.2:-wd5104" "norecover:static" ; run variant_json_value_from.cpp : : : $(JSON) ; run variant_json_value_to.cpp : : : $(JSON) ;