2003-09-29 15:37:57 +00:00
|
|
|
# Boost.Bind Library test Jamfile
|
|
|
|
|
#
|
2017-09-04 15:20:51 +03:00
|
|
|
# Copyright (c) 2003-2006, 2017 Peter Dimov
|
2003-09-29 15:37:57 +00:00
|
|
|
#
|
2006-11-09 19:36:51 +00:00
|
|
|
# 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)
|
2003-09-29 15:37:57 +00:00
|
|
|
|
|
|
|
|
# bring in rules for testing
|
|
|
|
|
import testing ;
|
|
|
|
|
|
2024-01-06 14:59:12 +02:00
|
|
|
local gcc-flags = -Wundef ;
|
|
|
|
|
|
|
|
|
|
project
|
|
|
|
|
: default-build
|
|
|
|
|
|
|
|
|
|
<warnings>pedantic
|
|
|
|
|
|
|
|
|
|
: requirements
|
|
|
|
|
|
|
|
|
|
<toolset>msvc:<warnings-as-errors>on
|
|
|
|
|
<toolset>gcc:<warnings-as-errors>on
|
|
|
|
|
<toolset>clang:<warnings-as-errors>on
|
2024-01-07 02:02:57 +02:00
|
|
|
|
|
|
|
|
<toolset>gcc:<cxxflags>$(gcc-flags)
|
|
|
|
|
<toolset>clang:<cxxflags>$(gcc-flags)
|
2024-01-06 14:59:12 +02:00
|
|
|
|
2024-07-31 08:31:28 -05:00
|
|
|
<library>/boost/bind//boost_bind
|
2024-08-20 19:39:13 +03:00
|
|
|
<library>/boost/core//boost_core
|
2024-07-20 19:36:58 -05:00
|
|
|
<library>/boost/function//boost_function
|
2024-08-20 19:39:13 +03:00
|
|
|
<library>/boost/smart_ptr//boost_smart_ptr
|
2024-03-11 08:27:02 -05:00
|
|
|
;
|
|
|
|
|
|
2017-09-04 15:20:51 +03:00
|
|
|
# quick test (for CI)
|
|
|
|
|
run quick.cpp ;
|
|
|
|
|
|
|
|
|
|
# full test suite
|
|
|
|
|
run bind_test.cpp ;
|
|
|
|
|
run bind_dm_test.cpp ;
|
|
|
|
|
run bind_eq_test.cpp ;
|
|
|
|
|
run bind_const_test.cpp ;
|
|
|
|
|
run bind_cv_test.cpp ;
|
|
|
|
|
run bind_stateful_test.cpp ;
|
|
|
|
|
run bind_dm2_test.cpp ;
|
|
|
|
|
run bind_not_test.cpp ;
|
|
|
|
|
run bind_rel_test.cpp ;
|
|
|
|
|
run bind_function_test.cpp ;
|
|
|
|
|
run bind_lookup_problem_test.cpp ;
|
2024-12-13 03:03:07 +02:00
|
|
|
run bind_rv_sp_test.cpp
|
|
|
|
|
: : : <toolset>msvc-12.0:<build>no ;
|
2017-09-04 15:20:51 +03:00
|
|
|
compile bind_unary_addr.cpp ;
|
|
|
|
|
run bind_dm3_test.cpp ;
|
|
|
|
|
run bind_visit_test.cpp ;
|
|
|
|
|
run bind_placeholder_test.cpp ;
|
|
|
|
|
run bind_rvalue_test.cpp ;
|
|
|
|
|
run bind_and_or_test.cpp ;
|
|
|
|
|
run bind_void_test.cpp ;
|
|
|
|
|
run bind_void_dm_test.cpp ;
|
|
|
|
|
run bind_void_mf_test.cpp ;
|
2024-12-13 03:03:07 +02:00
|
|
|
run mem_fn_test.cpp
|
|
|
|
|
: : : <toolset>msvc-12.0:<build>no ;
|
|
|
|
|
run mem_fn_void_test.cpp
|
|
|
|
|
: : : <toolset>msvc-12.0:<build>no ;
|
|
|
|
|
run mem_fn_derived_test.cpp
|
|
|
|
|
: : : <toolset>msvc-12.0:<build>no ;
|
2017-09-04 15:20:51 +03:00
|
|
|
run mem_fn_eq_test.cpp ;
|
2024-12-13 03:03:07 +02:00
|
|
|
run mem_fn_dm_test.cpp
|
|
|
|
|
: : : <toolset>msvc-12.0:<build>no ;
|
|
|
|
|
run mem_fn_rv_test.cpp
|
|
|
|
|
: : : <toolset>msvc-12.0:<build>no ;
|
2017-09-04 15:20:51 +03:00
|
|
|
run ref_fn_test.cpp ;
|
|
|
|
|
run bind_fnobj2_test.cpp ;
|
|
|
|
|
run bind_fn2_test.cpp ;
|
|
|
|
|
run bind_mf2_test.cpp ;
|
|
|
|
|
run bind_eq2_test.cpp ;
|
|
|
|
|
run mem_fn_ref_test.cpp ;
|
|
|
|
|
run bind_ref_test.cpp ;
|
2024-12-13 03:03:07 +02:00
|
|
|
run bind_eq3_test.cpp
|
|
|
|
|
: : : <toolset>msvc-12.0:<build>no ;
|
2017-09-04 15:20:51 +03:00
|
|
|
run protect_test.cpp ;
|
|
|
|
|
run mem_fn_unary_addr_test.cpp ;
|
|
|
|
|
run bind_function2_test.cpp ;
|
|
|
|
|
run bind_fwd_test.cpp ;
|
|
|
|
|
run bind_fwd2_test.cpp ;
|
|
|
|
|
run bind_no_placeholders_test.cpp ;
|
|
|
|
|
run placeholder_const_ref_test.cpp ;
|
|
|
|
|
run bind_function_ap_test.cpp ;
|
|
|
|
|
run bind_type_test.cpp ;
|
|
|
|
|
run bind_unique_ptr_test.cpp ;
|
2024-12-13 02:57:12 +02:00
|
|
|
run bind_nested_rv_test.cpp
|
2024-12-13 03:03:07 +02:00
|
|
|
: : : <toolset>gcc-4.7:<build>no <toolset>msvc-12.0:<build>no ;
|
2017-09-04 15:20:51 +03:00
|
|
|
compile arg_copy_test.cpp ;
|
2024-01-06 14:59:12 +02:00
|
|
|
compile-fail arg_copy_fail.cpp
|
|
|
|
|
: <warnings>off ;
|
2017-09-04 15:20:51 +03:00
|
|
|
run placeholder_std_bind_test.cpp ;
|
2017-11-05 20:03:45 +02:00
|
|
|
run bind_fastcall_test.cpp ;
|
|
|
|
|
run bind_stdcall_test.cpp ;
|
|
|
|
|
run bind_cdecl_mf_test.cpp ;
|
|
|
|
|
run bind_fastcall_mf_test.cpp ;
|
|
|
|
|
run bind_stdcall_mf_test.cpp ;
|
2024-12-13 03:03:07 +02:00
|
|
|
run mem_fn_cdecl_test.cpp
|
|
|
|
|
: : : <toolset>msvc-12.0:<build>no ;
|
|
|
|
|
run mem_fn_fastcall_test.cpp
|
|
|
|
|
: : : <toolset>msvc-12.0:<build>no ;
|
|
|
|
|
run mem_fn_stdcall_test.cpp
|
|
|
|
|
: : : <toolset>msvc-12.0:<build>no ;
|
2017-11-05 15:51:00 +02:00
|
|
|
run bind_noexcept_test.cpp ;
|
2017-11-05 18:44:44 +02:00
|
|
|
run bind_noexcept_mf_test.cpp ;
|
2020-02-16 18:13:15 +02:00
|
|
|
run global_placeholders.cpp ;
|
2024-12-13 03:03:07 +02:00
|
|
|
run mem_fn_noexcept_test.cpp
|
|
|
|
|
: : : <toolset>msvc-12.0:<build>no ;
|
2020-06-30 03:07:18 +03:00
|
|
|
run bind_cpp20_test.cpp ;
|
2020-06-30 21:39:22 +03:00
|
|
|
run protect_test2.cpp ;
|
2020-06-30 22:06:37 +03:00
|
|
|
run protect_cpp20_test.cpp ;
|
2020-08-27 20:19:32 +03:00
|
|
|
run bind_noexcept_mf2_test.cpp ;
|
2021-02-23 21:34:20 +02:00
|
|
|
run std_placeholders_test.cpp ;
|
2021-03-06 18:38:14 +02:00
|
|
|
run apply_test.cpp ;
|
2021-03-06 18:42:13 +02:00
|
|
|
run apply_test2.cpp ;
|
2021-03-06 18:52:42 +02:00
|
|
|
run apply_rv_test.cpp ;
|
2021-03-06 18:57:09 +02:00
|
|
|
run apply_rv_test2.cpp ;
|
2024-01-04 20:26:54 +02:00
|
|
|
run bind_over_test.cpp ;
|
2024-01-04 20:36:39 +02:00
|
|
|
run bind_over_mf_test.cpp ;
|
2024-01-04 20:56:32 +02:00
|
|
|
run bind_over_mf2_test.cpp ;
|
2024-01-04 18:06:14 +02:00
|
|
|
run mem_fn_cdecl_ref_test.cpp ;
|
|
|
|
|
run mem_fn_stdcall_ref_test.cpp ;
|
|
|
|
|
run mem_fn_fastcall_ref_test.cpp ;
|