From 7d48446b5efdf795df1ce22d6d9ed3ebe85d3381 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 16 Jul 2012 19:24:44 +0100 Subject: Import. --- test/wscript | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 test/wscript (limited to 'test/wscript') diff --git a/test/wscript b/test/wscript new file mode 100644 index 00000000..cd10983a --- /dev/null +++ b/test/wscript @@ -0,0 +1,15 @@ +def configure(conf): + conf.check_cxx(fragment = """ + #define BOOST_TEST_MODULE Config test\n + #include \n + int main() {} + """, msg = 'Checking for boost unit testing library', lib = 'boost_unit_test_framework', uselib_store = 'BOOST_TEST') + +def build(bld): + obj = bld(features = 'cxx cxxprogram') + obj.name = 'tests' + obj.uselib = 'BOOST_TEST' + obj.use = 'libdcp' + obj.source = 'tests.cc' + obj.target = 'tests' + obj.install_path = '' -- cgit v1.2.3