import testing ; SOURCES = test_vector_of_object.cpp test_back_reference.cpp test_def_from_base.cpp test_object.cpp test_abstract_base.cpp test_attributes.cpp test_const.cpp test_construction.cpp test_exceptions.cpp test_free_functions.cpp test_held_type.cpp test_implicit_cast.cpp test_iterator.cpp test_lua_classes.cpp test_null_pointer.cpp test_operators.cpp test_policies.cpp test_scope.cpp test_separation.cpp test_simple_class.cpp test_yield.cpp test_private_destructors.cpp test_exception_handlers.cpp test_shadow.cpp test_tag_function.cpp test_adopt.cpp test_properties.cpp test_user_defined_converter.cpp test_adopt_wrapper.cpp test_builtin_converters.cpp test_class_info.cpp test_table.cpp test_automatic_smart_ptr.cpp test_shared_ptr.cpp test_implicit_raw.cpp test_collapse_converter.cpp test_dynamic_type.cpp test_virtual_inheritance.cpp test_create_in_thread.cpp test_extend_class_in_lua.cpp test_smart_ptr_attributes.cpp test_super_leak.cpp test_set_instance_value.cpp test_unsigned_int.cpp test_def_function_object.cpp ; obj main : main.cpp : ..//luabind : : ..//luabind ; tests = ; for local src in $(SOURCES) { tests += [ run $(src) main ] ; } test += [ compile test_typetraits.cpp ..//luabind ] [ compile test_value_wrapper.cpp ..//luabind ] [ compile test_has_get_pointer.cpp ..//luabind ] ; test-suite test : $(tests) # requirements : # default-build : static shared release debug ;