diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-05-27 17:01:58 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-05-27 17:01:58 +0100 |
| commit | 14fa24a1aabda7925f4842ab7f7e13c1798182a4 (patch) | |
| tree | f766ce71fb4a8dbc958f599e04c9ceaf21aef2a9 /wscript | |
| parent | bc419bd953dc31184aa3f3a6a3c9b8693bc34b7c (diff) | |
Use boost filesystem.
Diffstat (limited to 'wscript')
| -rw-r--r-- | wscript | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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 <boost/filesystem.hpp>\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): |
