Yingdi Yu | b20ae81 | 2014-08-15 11:20:19 -0700 | [diff] [blame^] | 1 | # -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- |
| 2 | from waflib import Utils |
| 3 | |
| 4 | top = '..' |
| 5 | |
| 6 | def 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 | ) |