blob: 3898a81e934d7cfe0f240b623915e5882479a141 [file] [log] [blame]
Yukai Tu73287f52017-02-06 15:46:40 -08001from waflib import Utils
2
3top = '..'
4
5def build(bld):
6
7 for i in bld.path.ant_glob(['*.cpp']):
8 name = str(i)[str.rfind(str(i),'/'):-len(".cpp")]
9 bld(features='qt5 cxx cxxprogram',
10 target=name,
11 source=[i],
12 use='chronoshare core-objects adhoc http_server chronoshare_gui boost-tests-base QT5CORE QT5WIDGETS',
13 includes='..',
14 defines=['UNIT_TEST_CONFIG_PATH=\"%s/tmp-files/\"' % (bld.bldnode)],
15 install_path=None)