Blame view

3rdparty/boost_1_81_0/libs/function/test/Jamfile.v2 3.55 KB
977ed18d   Hu Chunming   提交三方库
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
  # Function library
  
  # Copyright Douglas Gregor 2001-2003. Use, modification and
  # distribution is subject to 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)
  
  # For more information, see http://www.boost.org/
  
  import testing ;
  
  project
    : default-build
      <warnings>extra
    : requirements
      <toolset>msvc:<warnings-as-errors>on
      <toolset>gcc:<warnings-as-errors>on
      <toolset>clang:<warnings-as-errors>on
    ;
  
  run function_test.cpp ;
  # /usr/include/c++/4.4/bits/shared_ptr.h:146: error: cannot use typeid with -fno-rtti
  run function_test.cpp : : : <rtti>off <toolset>gcc-4.4.7,<cxxstd>0x:<build>no : function_test_no_rtti ;
  run function_n_test.cpp ;
  run allocator_test.cpp ;
  run stateless_test.cpp ;
  run lambda_test.cpp ;
  compile-fail function_test_fail1.cpp ;
  compile-fail function_test_fail2.cpp ;
  compile function_30.cpp ;
  compile function_30_repeat.cpp ;
  run function_arith_cxx98.cpp ;
  run function_arith_portable.cpp ;
  run sum_avg_cxx98.cpp ;
  run sum_avg_portable.cpp ;
  run mem_fun_cxx98.cpp ;
  run mem_fun_portable.cpp ;
  run std_bind_cxx98.cpp ;
  run std_bind_portable.cpp ;
  run function_ref_cxx98.cpp ;
  run function_ref_portable.cpp ;
  run contains_test.cpp ;
  run contains2_test.cpp ;
  run nothrow_swap.cpp ;
  run rvalues_test.cpp ;
  compile function_typeof_test.cpp ;
  run result_arg_types_test.cpp ;
  
  lib throw_bad_function_call : throw_bad_function_call.cpp : <link>shared:<define>THROW_BAD_FUNCTION_CALL_DYN_LINK=1 ;
  
  run test_bad_function_call.cpp throw_bad_function_call : : : <link>shared : test_bad_function_call_shared ;
  run test_bad_function_call.cpp throw_bad_function_call : : : <link>static : test_bad_function_call_static ;
  
  lib mixed_cxxstd : mixed_cxxstd.cpp : <link>shared:<define>MIXED_CXXSTD_DYN_LINK=1 ;
  
  run test_mixed_cxxstd.cpp mixed_cxxstd : : : <link>shared : mixed_cxxstd_shared ;
  run test_mixed_cxxstd.cpp mixed_cxxstd : : : <link>static : mixed_cxxstd_static ;
  
  run test_mixed_cxxstd.cpp mixed_cxxstd/<cxxstd>98 : : : <link>shared : mixed_cxxstd_shared_98 ;
  run test_mixed_cxxstd.cpp mixed_cxxstd/<cxxstd>98 : : : <link>static : mixed_cxxstd_static_98 ;
  
  run test_mixed_cxxstd.cpp mixed_cxxstd/<cxxstd>0x : : : <link>shared : mixed_cxxstd_shared_0x ;
  run test_mixed_cxxstd.cpp mixed_cxxstd/<cxxstd>0x : : : <link>static : mixed_cxxstd_static_0x ;
  
  local check14 = [ check-target-builds mixed_cxxstd/<cxxstd>14 : : <build>no ] ;
  
  run test_mixed_cxxstd.cpp mixed_cxxstd/<cxxstd>14 : : : <link>shared $(check14) : mixed_cxxstd_shared_14 ;
  run test_mixed_cxxstd.cpp mixed_cxxstd/<cxxstd>14 : : : <link>static $(check14) : mixed_cxxstd_static_14 ;
  
  lib return_function : return_function.cpp : <link>shared:<define>RETURN_FUNCTION_DYN_LINK=1 ;
  
  run test_return_function.cpp return_function : : : <link>shared : return_function_shared ;
  run test_return_function.cpp return_function : : : <link>static : return_function_static ;
  
  run test_return_function.cpp return_function/<cxxstd>98 : : : <link>shared : return_function_shared_98 ;
  run test_return_function.cpp return_function/<cxxstd>98 : : : <link>static : return_function_static_98 ;
  
  run test_return_function.cpp return_function/<cxxstd>0x : : : <link>shared : return_function_shared_0x ;
  run test_return_function.cpp return_function/<cxxstd>0x : : : <link>static : return_function_static_0x ;
  
  run test_return_function.cpp return_function/<cxxstd>14 : : : <link>shared $(check14) : return_function_shared_14 ;
  run test_return_function.cpp return_function/<cxxstd>14 : : : <link>static $(check14) : return_function_static_14 ;
  
  run quick.cpp ;
  
  compile issue_42.cpp ;