Jamfile 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. # (C) Copyright Tobias Schwinger
  2. #
  3. # Use, modification and distribution are subject to the Boost Software License,
  4. # Version 1.0. (See http://www.boost.org/LICENSE_1_0.txt).
  5. #-------------------------------------------------------------------------------
  6. import testing ;
  7. {
  8. test-suite function_types :
  9. # Classification
  10. [ compile classification/is_function.cpp ]
  11. [ compile classification/is_function_pointer.cpp ]
  12. [ compile classification/is_function_reference.cpp ]
  13. [ compile classification/is_member_function_pointer.cpp ]
  14. [ compile classification/is_member_object_pointer.cpp ]
  15. [ compile classification/is_callable_builtin.cpp ]
  16. [ compile classification/is_nonmember_callable_builtin.cpp ]
  17. [ compile classification/is_member_pointer.cpp ]
  18. [ compile classification/is_cv_mem_func_ptr.cpp ]
  19. [ compile classification/is_variadic.cpp ]
  20. [ compile classification/is_cv_pointer.cpp ]
  21. # [ compile classification/is_cv_function.cpp ]
  22. # Decomposition
  23. [ compile decomposition/components.cpp ]
  24. [ compile decomposition/result_type.cpp ]
  25. [ compile decomposition/function_arity.cpp ]
  26. [ compile decomposition/parameter_types.cpp ]
  27. [ compile decomposition/components_seq.cpp ]
  28. [ compile decomposition/class_type_transform.cpp ]
  29. [ compile-fail decomposition/result_type_fail.cpp ]
  30. [ compile-fail decomposition/parameter_types_fail.cpp ]
  31. [ compile-fail decomposition/function_arity_fail.cpp ]
  32. # Synthesis
  33. [ compile synthesis/function_type.cpp ]
  34. [ compile synthesis/function_pointer.cpp ]
  35. [ compile synthesis/function_reference.cpp ]
  36. [ compile synthesis/member_function_pointer.cpp ]
  37. [ compile synthesis/member_object_pointer.cpp ]
  38. [ compile synthesis/transformation.cpp ]
  39. [ compile synthesis/mem_func_ptr_cv1.cpp ]
  40. [ compile synthesis/mem_func_ptr_cv2.cpp ]
  41. [ compile synthesis/mem_func_ptr_cv_ptr_to_this.cpp ]
  42. [ compile synthesis/variadic_function_synthesis.cpp ]
  43. # [ compile synthesis/cv_function_synthesis.cpp ]
  44. # Reconfiguration
  45. [ compile reconfiguration/preprocessing_mode.cpp ]
  46. [ compile reconfiguration/partial_arity_preprocessing.cpp ]
  47. [ compile reconfiguration/cc_preprocessing.cpp ]
  48. # Custom calling conventions
  49. [ compile custom_ccs/nonmember_ccs.cpp : <address-model>64:<build>no ]
  50. [ compile custom_ccs/nonmember_ccs_exact.cpp : <address-model>64:<build>no ]
  51. [ compile custom_ccs/member_ccs.cpp : <address-model>64:<build>no ]
  52. [ compile custom_ccs/member_ccs_exact.cpp : <address-model>64:<build>no ]
  53. # Code from the examples
  54. [ compile ../example/interpreter_example.cpp ]
  55. [ compile ../example/result_of_example.cpp ]
  56. [ compile ../example/interface_example.cpp ]
  57. [ compile ../example/fast_mem_fn_example.cpp
  58. # needed for Boost.PP file iteration with some compilers
  59. : <include>../example
  60. ]
  61. [ compile ../example/macro_type_args_example.cpp ]
  62. ;
  63. }