diff --git a/build.jam b/build.jam new file mode 100644 index 0000000..8321dab --- /dev/null +++ b/build.jam @@ -0,0 +1,27 @@ +# 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) + +import project ; + +project /boost/function + : common-requirements + /boost/assert//boost_assert + /boost/bind//boost_bind + /boost/config//boost_config + /boost/core//boost_core + /boost/preprocessor//boost_preprocessor + /boost/throw_exception//boost_throw_exception + /boost/type_traits//boost_type_traits + /boost/typeof//boost_typeof + include + ; + +explicit + [ alias boost_function ] + [ alias all : boost_function example test ] + ; + +call-if : boost-library function + ; diff --git a/example/Jamfile b/example/Jamfile index 671cc1d..f5b77bb 100644 --- a/example/Jamfile +++ b/example/Jamfile @@ -6,7 +6,9 @@ # 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 ; run bind1st.cpp : : : [ requires cxx98_binders ] ; diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index 717a163..20cee05 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -24,7 +24,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 +42,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 ;