Jamfile.v2 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. # Function library
  2. # Copyright Douglas Gregor 2001-2003. Use, modification and
  3. # distribution is subject to the Boost Software License, Version
  4. # 1.0. (See accompanying file LICENSE_1_0.txt or copy at
  5. # http://www.boost.org/LICENSE_1_0.txt)
  6. # For more information, see http://www.boost.org/
  7. import testing ;
  8. run function_test.cpp ;
  9. # /usr/include/c++/4.4/bits/shared_ptr.h:146: error: cannot use typeid with -fno-rtti
  10. run function_test.cpp : : : <rtti>off <toolset>gcc-4.4.7,<cxxstd>0x:<build>no : function_test_no_rtti ;
  11. run function_n_test.cpp ;
  12. run allocator_test.cpp ;
  13. run stateless_test.cpp ;
  14. run lambda_test.cpp ;
  15. compile-fail function_test_fail1.cpp ;
  16. compile-fail function_test_fail2.cpp ;
  17. compile function_30.cpp ;
  18. compile function_30_repeat.cpp ;
  19. run function_arith_cxx98.cpp ;
  20. run function_arith_portable.cpp ;
  21. run sum_avg_cxx98.cpp ;
  22. run sum_avg_portable.cpp ;
  23. run mem_fun_cxx98.cpp ;
  24. run mem_fun_portable.cpp ;
  25. run std_bind_cxx98.cpp ;
  26. run std_bind_portable.cpp ;
  27. run function_ref_cxx98.cpp ;
  28. run function_ref_portable.cpp ;
  29. run contains_test.cpp ;
  30. run contains2_test.cpp ;
  31. run nothrow_swap.cpp ;
  32. run rvalues_test.cpp ;
  33. compile function_typeof_test.cpp ;
  34. run result_arg_types_test.cpp ;
  35. lib throw_bad_function_call : throw_bad_function_call.cpp : <link>shared:<define>THROW_BAD_FUNCTION_CALL_DYN_LINK=1 ;
  36. run test_bad_function_call.cpp throw_bad_function_call : : : <link>shared : test_bad_function_call_shared ;
  37. run test_bad_function_call.cpp throw_bad_function_call : : : <link>static : test_bad_function_call_static ;
  38. lib mixed_cxxstd : mixed_cxxstd.cpp : <link>shared:<define>MIXED_CXXSTD_DYN_LINK=1 ;
  39. run test_mixed_cxxstd.cpp mixed_cxxstd : : : <link>shared : mixed_cxxstd_shared ;
  40. run test_mixed_cxxstd.cpp mixed_cxxstd : : : <link>static : mixed_cxxstd_static ;
  41. run test_mixed_cxxstd.cpp mixed_cxxstd/<cxxstd>98 : : : <link>shared : mixed_cxxstd_shared_98 ;
  42. run test_mixed_cxxstd.cpp mixed_cxxstd/<cxxstd>98 : : : <link>static : mixed_cxxstd_static_98 ;
  43. run test_mixed_cxxstd.cpp mixed_cxxstd/<cxxstd>0x : : : <link>shared : mixed_cxxstd_shared_0x ;
  44. run test_mixed_cxxstd.cpp mixed_cxxstd/<cxxstd>0x : : : <link>static : mixed_cxxstd_static_0x ;
  45. local check14 = [ check-target-builds mixed_cxxstd/<cxxstd>14 : : <build>no ] ;
  46. run test_mixed_cxxstd.cpp mixed_cxxstd/<cxxstd>14 : : : <link>shared $(check14) : mixed_cxxstd_shared_14 ;
  47. run test_mixed_cxxstd.cpp mixed_cxxstd/<cxxstd>14 : : : <link>static $(check14) : mixed_cxxstd_static_14 ;
  48. lib return_function : return_function.cpp : <link>shared:<define>RETURN_FUNCTION_DYN_LINK=1 ;
  49. run test_return_function.cpp return_function : : : <link>shared : return_function_shared ;
  50. run test_return_function.cpp return_function : : : <link>static : return_function_static ;
  51. run test_return_function.cpp return_function/<cxxstd>98 : : : <link>shared : return_function_shared_98 ;
  52. run test_return_function.cpp return_function/<cxxstd>98 : : : <link>static : return_function_static_98 ;
  53. run test_return_function.cpp return_function/<cxxstd>0x : : : <link>shared : return_function_shared_0x ;
  54. run test_return_function.cpp return_function/<cxxstd>0x : : : <link>static : return_function_static_0x ;
  55. run test_return_function.cpp return_function/<cxxstd>14 : : : <link>shared $(check14) : return_function_shared_14 ;
  56. run test_return_function.cpp return_function/<cxxstd>14 : : : <link>static $(check14) : return_function_static_14 ;
  57. run quick.cpp ;