Merge branch '0.8' to sync with changes made after 0.8.1 release.
[luabind.git] / test / Jamfile
blob47dc61e195b8b955f0e93a8d755f519862606ec9
1 import testing ;
3 SOURCES =
4     test_vector_of_object.cpp
5     test_back_reference.cpp
6     test_def_from_base.cpp
7     test_object.cpp
8     test_abstract_base.cpp
9     test_attributes.cpp
10     test_const.cpp
11     test_construction.cpp
12     test_exceptions.cpp
13     test_free_functions.cpp
14     test_held_type.cpp
15     test_implicit_cast.cpp
16     test_iterator.cpp
17     test_lua_classes.cpp
18     test_null_pointer.cpp
19     test_operators.cpp
20     test_policies.cpp
21     test_scope.cpp
22     test_separation.cpp
23     test_simple_class.cpp
24     test_yield.cpp
25     test_private_destructors.cpp
26     test_exception_handlers.cpp
27     test_shadow.cpp
28     test_tag_function.cpp
29     test_adopt.cpp
30     test_properties.cpp
31     test_user_defined_converter.cpp
32     test_adopt_wrapper.cpp
33     test_builtin_converters.cpp
34     test_class_info.cpp
35     test_table.cpp
36     test_automatic_smart_ptr.cpp
37     test_shared_ptr.cpp
38     test_implicit_raw.cpp
39     test_collapse_converter.cpp
40     test_dynamic_type.cpp
41     test_virtual_inheritance.cpp
42     test_create_in_thread.cpp
43  ;
45 obj main : main.cpp : <library>..//luabind : : <library>..//luabind ;
47 tests = ;
49 for local src in $(SOURCES)
51     tests += [ run $(src) main ] ;
54 test += [ compile test_typetraits.cpp ..//luabind ]
55         [ compile test_value_wrapper.cpp ..//luabind ]
56         [ 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 ;