| # -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- |
| conf.load("compiler_cxx") |
| conf.check_cfg(atleast_pkgconfig_version='0.20') |
| conf.check_cfg(package='openssl', args=['--cflags', '--libs'], uselib_store='SSL') |
| conf.define ('STANDALONE', 1) |
| # conf.define ('DIGEST_BASE64', 1) # base64 is not working and probably will not work at all |
| conf.check_boost(lib='system iostreams test') |
| bld.shlib (target=APPNAME, |
| features=['cxx', 'cxxshlib'], |
| source = bld.path.ant_glob(['model/sync-*.cc', |
| uselib = 'BOOST BOOST_IOSTREAMS SSL' |
| bld.program (target="utit-tests", |
| source = bld.path.ant_glob(['test/**/*.cc']), |
| features=['cxx', 'cxxprogram'], |
| from waflib.Build import BuildContext |
| class doxy (BuildContext): |
| doxyfile='doc/doxygen.conf', |