diff --git a/build.jam b/build.jam new file mode 100644 index 0000000..5c8089b --- /dev/null +++ b/build.jam @@ -0,0 +1,26 @@ +# 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/core//boost_core + /boost/move//boost_move + /boost/static_assert//boost_static_assert + /boost/throw_exception//boost_throw_exception + /boost/type_traits//boost_type_traits ; + +project /boost/optional ; + +explicit + [ alias boost_optional : : : : $(boost_dependencies) include ] + [ alias all : boost_optional test ] + ; + +call-if : boost-library optional + ; + diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index e17fc3b..33c3f25 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -19,6 +19,7 @@ import testing ; project : requirements + /boost/optional//boost_optional [ requires cxx11_decltype cxx11_defaulted_functions @@ -32,7 +33,7 @@ project ; -run optional_test.cpp ; +run optional_test.cpp : : : /boost/bind//boost_bind /boost/mpl//boost_mpl ; run optional_test_assign.cpp ; run optional_test_swap.cpp ; compile optional_test_wuninitialized.cpp ; @@ -44,7 +45,7 @@ run optional_test_make_optional.cpp ; run optional_test_flat_map.cpp ; run optional_test_hash.cpp ; run optional_test_map.cpp ; -run optional_test_tie.cpp ; +run optional_test_tie.cpp : : : /boost/tuple//boost_tuple ; run optional_test_ref_assign_portable_minimum.cpp ; run optional_test_ref_assign_mutable_int.cpp ; run optional_test_ref_assign_const_int.cpp ;