diff --git a/build.jam b/build.jam index 55fe90a..fa276be 100644 --- a/build.jam +++ b/build.jam @@ -1,7 +1,7 @@ -# Copyright René Ferdinand Rivera Morell 2023-2024 +# Copyright 2023-2024 René Ferdinand Rivera Morell +# Copyright 2024 Peter Dimov # 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) +# https://www.boost.org/LICENSE_1_0.txt require-b2 5.2 ; @@ -11,18 +11,14 @@ constant boost_dependencies : /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 ; +project /boost/function ; + explicit - [ alias boost_function : : : : $(boost_dependencies) ] + [ alias boost_function : : : : include $(boost_dependencies) ] [ alias all : boost_function example test ] ; call-if : boost-library function ; - diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index d4f6279..67bbe1f 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -16,8 +16,8 @@ project msvc:on gcc:on clang:on - /boost/typeof//boost_typeof /boost/function//boost_function + /boost/typeof//boost_typeof ; run function_test.cpp ; @@ -26,7 +26,8 @@ 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 : : : /boost/lambda//boost_lambda ; +run lambda_test.cpp + : : : /boost/lambda//boost_lambda ; compile-fail function_test_fail1.cpp ; compile-fail function_test_fail2.cpp ; compile function_30.cpp ; @@ -44,9 +45,10 @@ run function_ref_portable.cpp ; run contains_test.cpp ; run contains2_test.cpp ; run nothrow_swap.cpp ; -run rvalues_test.cpp : : : /boost/move//boost_move ; +run rvalues_test.cpp + : : : /boost/move//boost_move ; compile function_typeof_test.cpp - : 03:no 98:no 0x:no ; + : 03:no 98:no 0x:no ; run result_arg_types_test.cpp ; run result_arg_n_types_test.cpp ;