Jamfile 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. import testing ;
  2. SOURCES =
  3. test_vector_of_object.cpp
  4. test_back_reference.cpp
  5. test_def_from_base.cpp
  6. test_object.cpp
  7. test_abstract_base.cpp
  8. test_attributes.cpp
  9. test_const.cpp
  10. test_construction.cpp
  11. test_exceptions.cpp
  12. test_free_functions.cpp
  13. test_held_type.cpp
  14. test_implicit_cast.cpp
  15. test_iterator.cpp
  16. test_lua_classes.cpp
  17. test_null_pointer.cpp
  18. test_operators.cpp
  19. test_policies.cpp
  20. test_scope.cpp
  21. test_separation.cpp
  22. test_simple_class.cpp
  23. test_yield.cpp
  24. test_private_destructors.cpp
  25. test_exception_handlers.cpp
  26. test_shadow.cpp
  27. test_tag_function.cpp
  28. test_adopt.cpp
  29. test_properties.cpp
  30. test_user_defined_converter.cpp
  31. test_adopt_wrapper.cpp
  32. test_builtin_converters.cpp
  33. test_class_info.cpp
  34. test_table.cpp
  35. test_automatic_smart_ptr.cpp
  36. test_shared_ptr.cpp
  37. test_implicit_raw.cpp
  38. test_collapse_converter.cpp
  39. test_dynamic_type.cpp
  40. test_virtual_inheritance.cpp
  41. test_create_in_thread.cpp
  42. test_extend_class_in_lua.cpp
  43. test_smart_ptr_attributes.cpp
  44. test_super_leak.cpp
  45. test_set_instance_value.cpp
  46. test_unsigned_int.cpp
  47. test_def_function_object.cpp
  48. ;
  49. obj main : main.cpp : <library>..//luabind : : <library>..//luabind ;
  50. tests = ;
  51. for local src in $(SOURCES)
  52. {
  53. tests += [ run $(src) main ] ;
  54. }
  55. test += [ compile test_typetraits.cpp ..//luabind ]
  56. [ compile test_value_wrapper.cpp ..//luabind ]
  57. [ compile test_has_get_pointer.cpp ..//luabind ] ;
  58. test-suite test
  59. : $(tests)
  60. # requirements
  61. :
  62. # default-build
  63. : <link>static <link>shared release debug ;