Alexander Afanasyev | 77f6ae1 | 2018-06-14 17:54:17 -0400 | [diff] [blame] | 1 | # -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- |
Alexander Afanasyev | 77f6ae1 | 2018-06-14 17:54:17 -0400 | [diff] [blame] | 2 | |
| 3 | top = '..' |
| 4 | |
| 5 | def build(bld): |
Alexander Afanasyev | 77f6ae1 | 2018-06-14 17:54:17 -0400 | [diff] [blame] | 6 | config_path = 'TMP_TESTS_PATH="%s"' % bld.bldnode.make_node('tmp-files') |
| 7 | |
| 8 | bld.program( |
| 9 | target='../unit-tests', |
| 10 | name='unit-tests', |
Davide Pesavento | 0f4ff53 | 2019-01-29 15:38:25 -0500 | [diff] [blame^] | 11 | source=bld.path.ant_glob('**/*.cpp'), |
| 12 | use='libndn-nac', |
| 13 | includes='.', |
Alexander Afanasyev | 77f6ae1 | 2018-06-14 17:54:17 -0400 | [diff] [blame] | 14 | install_path=None, |
| 15 | defines=[config_path]) |