5 opt.load('compiler_cxx')
8 conf.load('compiler_cxx')
9 conf.env.append_value('CXXFLAGS', ['-Wall', '-Wextra', '-O2'])
11 conf.check_cfg(package = 'libxml++-2.6', args = '--cflags --libs', uselib_store = 'LIBXML++', mandatory = True)
13 conf.check_cxx(fragment = """
14 #include <boost/filesystem.hpp>\n
15 int main() { boost::filesystem::copy_file ("a", "b"); }\n
17 msg = 'Checking for boost filesystem library',
18 libpath = '/usr/local/lib',
19 lib = ['boost_filesystem', 'boost_system'],
20 uselib_store = 'BOOST_FILESYSTEM')
26 bld(source = 'libcxml.pc.in',
28 includedir = '%s/include' % bld.env.PREFIX,
29 libs = "-L${libdir} -lcxml",
30 install_path = '${LIBDIR}/pkgconfig')