diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-04-11 07:48:36 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-04-11 07:48:36 +0100 |
| commit | 7d53df3647dd6aa455785bced79ee597f3ccf205 (patch) | |
| tree | 5e466b1264a464b921209d907cbe0d278b5512a7 | |
| parent | 9be15b453fda3249f4e02df1a6f874a0d2a538b7 (diff) | |
More windows hacks.
| -rw-r--r-- | test/wscript | 9 | ||||
| -rw-r--r-- | wscript | 9 |
2 files changed, 9 insertions, 9 deletions
diff --git a/test/wscript b/test/wscript index 8868a36..ae84f63 100644 --- a/test/wscript +++ b/test/wscript @@ -1,13 +1,4 @@ def configure(conf): - conf.check_cxx(fragment = """ - #define BOOST_TEST_MODULE Config test\n - #include <boost/test/unit_test.hpp>\n - int main() {} - """, - msg = 'Checking for boost unit testing library', - lib = ['boost_unit_test_framework', 'boost_system'], - uselib_store = 'BOOST_TEST') - conf.env.prepend_value('LINKFLAGS', '-Lsrc') def build(bld): @@ -27,6 +27,15 @@ def configure(conf): lib = ['boost_filesystem%s' % boost_lib_suffix, 'boost_system%s' % boost_lib_suffix], uselib_store = 'BOOST_FILESYSTEM') + conf.check_cxx(fragment = """ + #define BOOST_TEST_MODULE Config test\n + #include <boost/test/unit_test.hpp>\n + int main() {} + """, + msg = 'Checking for boost unit testing library', + lib = ['boost_unit_test_framework%s' % boost_lib_suffix, 'boost_system%s' % boost_lib_suffix], + uselib_store = 'BOOST_TEST') + conf.recurse('test') def build(bld): |
