From 14fa24a1aabda7925f4842ab7f7e13c1798182a4 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 27 May 2014 17:01:58 +0100 Subject: Use boost filesystem. --- wscript | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'wscript') diff --git a/wscript b/wscript index dadfdaf..a664b8b 100644 --- a/wscript +++ b/wscript @@ -40,6 +40,15 @@ def configure(conf): okmsg='yes', errmsg='too old\nPlease install boost version 1.45 or higher.') + conf.check_cxx(fragment = """ + #include \n + int main() { boost::filesystem::copy_file ("a", "b"); }\n + """, + msg = 'Checking for boost filesystem library', + libpath = '/usr/local/lib', + lib = ['boost_filesystem', 'boost_system'], + uselib_store = 'BOOST_FILESYSTEM') + conf.recurse('test') def build(bld): -- cgit v1.2.3