blob: bc847a904706b239be06340b9fa92117e9f5e3da [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',
11 source=bld.path.ant_glob(['*.cpp']),
12 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 )