diff --git a/build.jam b/build.jam new file mode 100644 index 0000000..55fe90a --- /dev/null +++ b/build.jam @@ -0,0 +1,28 @@ +# 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/bind//boost_bind + /boost/config//boost_config + /boost/core//boost_core + /boost/throw_exception//boost_throw_exception + /boost/type_traits//boost_type_traits ; + +project /boost/function + : common-requirements + include + ; + +explicit + [ alias boost_function : : : : $(boost_dependencies) ] + [ alias all : boost_function example test ] + ; + +call-if : boost-library function + ; + diff --git a/example/Jamfile b/example/Jamfile index 671cc1d..15d8f3c 100644 --- a/example/Jamfile +++ b/example/Jamfile @@ -6,9 +6,13 @@ # See accompanying file LICENSE_1_0.txt or copy at # http://www.boost.org/LICENSE_1_0.txt -import ../../config/checks/config : requires ; +require-b2 5.0.1 ; +import-search /boost/config/checks ; +import config : requires ; import testing ; +project : requirements /boost/function//boost_function ; + run bind1st.cpp : : : [ requires cxx98_binders ] ; run int_div.cpp ; run sum_avg.cpp ; diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index 13f411e..d4f6279 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -16,6 +16,8 @@ project msvc:on gcc:on clang:on + /boost/typeof//boost_typeof + /boost/function//boost_function ; run function_test.cpp ; @@ -24,7 +26,7 @@ run function_test.cpp : : : off gcc-4.4,0x:no : fu run function_n_test.cpp ; run allocator_test.cpp ; run stateless_test.cpp ; -run lambda_test.cpp ; +run lambda_test.cpp : : : /boost/lambda//boost_lambda ; compile-fail function_test_fail1.cpp ; compile-fail function_test_fail2.cpp ; compile function_30.cpp ; @@ -42,7 +44,7 @@ run function_ref_portable.cpp ; run contains_test.cpp ; run contains2_test.cpp ; run nothrow_swap.cpp ; -run rvalues_test.cpp ; +run rvalues_test.cpp : : : /boost/move//boost_move ; compile function_typeof_test.cpp : 03:no 98:no 0x:no ; run result_arg_types_test.cpp ;