Separate out STL binary tables so that writer can use them; start of writer.
[libsub.git] / test / wscript
1 def configure(conf):
2     conf.check_cxx(fragment="""
3                             #define BOOST_TEST_MODULE Config test\n
4                             #include <boost/test/unit_test.hpp>\n
5                             int main() {}
6                             """,
7                             msg='Checking for boost unit testing library',
8                             lib='boost_unit_test_framework',
9                             uselib_store='BOOST_TEST')
10
11     conf.env.prepend_value('LINKFLAGS', '-Lsrc')
12
13 def build(bld):
14     obj = bld(features='cxx cxxprogram')
15     obj.name   = 'tests'
16     obj.uselib = 'BOOST_TEST'
17     obj.use    = 'libsub'
18     obj.source = """
19                  dcp_reader_test.cc
20                  iso6937_test.cc
21                  stl_binary_reader_test.cc
22                  stl_binary_writer_test.cc
23                  stl_text_reader_test.cc
24                  time_test.cc
25                  test.cc
26                  """
27     obj.target = 'tests'
28     obj.install_path = ''