Fixed for VC6.5.
[luabind.git] / test / Jamfile
blob6776364f08e47e7fbccf705ed661ba7ed00f0120
1 import testing ;
3 use-project /luabind : ../ ;
5 SOURCES = 
6     test_back_reference.cpp
7     test_def_from_base.cpp
8     test_object.cpp
9     test_abstract_base.cpp
10     test_attributes.cpp
11     test_const.cpp
12     test_construction.cpp
13     test_exceptions.cpp
14     test_free_functions.cpp
15     test_held_type.cpp
16     test_implicit_cast.cpp
17     test_iterator.cpp
18     test_lua_classes.cpp
19     test_null_pointer.cpp
20     test_operators.cpp
21     test_policies.cpp
22     test_scope.cpp
23     test_separation.cpp
24     test_simple_class.cpp
25     test_yield.cpp
26  ;
28 project : default-build <link>static ;
30 lib main-lib 
31     : main.cpp /luabind//luabind/<link>static /luabind//lua /luabind//lualib 
32     : <link>static
33     ;
35 tests = ;
37 for local src in $(SOURCES)
39     tests += [ run $(src) main-lib ] ;
42 test-suite luabind-test : $(tests) 
43     [ compile test_typetraits.cpp ] 
44     [ compile test_value_wrapper.cpp ]
45     [ compile test_has_get_pointer.cpp ]
46     ;