blob: d1a61ba2ad969ed8d3287357241f51047b376372 [file] [log] [blame]
Yingdi Yub20ae812014-08-15 11:20:19 -07001# -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
2from waflib import Utils
3
4top = '..'
5
6def build(bld):
7 unit_test_main = bld(
8 target='unit-tests-main',
9 name='unit-tests-main',
10 features='cxx',
Yingdi Yudea99be2014-08-15 10:45:43 -070011 source=bld.path.ant_glob(['main.cpp']),
Yingdi Yub20ae812014-08-15 11:20:19 -070012 use='ChronoSync',
13 )
14
15 unit_test = bld.program(
16 target="../unit-tests",
17 source=bld.path.ant_glob(['unit-tests/**/*.cpp']),
18 features=['cxx', 'cxxprogram'],
19 use='ChronoSync, unit-tests-main',
20 includes=['.'],
21 install_path=None,
22 )