Junxiao Shi | 2ac79d9 | 2015-03-23 11:16:18 -0700 | [diff] [blame] | 1 | # -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- |
| 2 | top = '../..' |
| 3 | |
| 4 | def build(bld): |
Zhuo Li | b355889 | 2016-08-12 15:51:12 -0700 | [diff] [blame] | 5 | |
Davide Pesavento | 1aa9143 | 2018-02-19 22:43:31 -0500 | [diff] [blame] | 6 | bld.objects( |
| 7 | target='ndnpeek-objects', |
Zhuo Li | b355889 | 2016-08-12 15:51:12 -0700 | [diff] [blame] | 8 | source=bld.path.ant_glob('ndnpeek/*.cpp', excl='ndnpeek/main.cpp'), |
Davide Pesavento | 89d9175 | 2016-08-14 11:34:09 +0200 | [diff] [blame] | 9 | use='core-objects') |
Junxiao Shi | 2ac79d9 | 2015-03-23 11:16:18 -0700 | [diff] [blame] | 10 | |
Davide Pesavento | 1aa9143 | 2018-02-19 22:43:31 -0500 | [diff] [blame] | 11 | bld.program( |
Zhuo Li | b355889 | 2016-08-12 15:51:12 -0700 | [diff] [blame] | 12 | target='../../bin/ndnpeek', |
Davide Pesavento | 3347eaa | 2019-01-16 18:41:46 -0500 | [diff] [blame] | 13 | name='ndnpeek', |
Zhuo Li | b355889 | 2016-08-12 15:51:12 -0700 | [diff] [blame] | 14 | source='ndnpeek/main.cpp', |
Davide Pesavento | 1aa9143 | 2018-02-19 22:43:31 -0500 | [diff] [blame] | 15 | use='ndnpeek-objects') |
Zhuo Li | b355889 | 2016-08-12 15:51:12 -0700 | [diff] [blame] | 16 | |
Eric Newberry | 2f041d2 | 2018-06-03 18:02:31 -0700 | [diff] [blame] | 17 | bld.objects( |
| 18 | target='ndnpoke-objects', |
| 19 | source=bld.path.ant_glob('ndnpoke/*.cpp', excl='ndnpoke/main.cpp'), |
| 20 | use='core-objects') |
| 21 | |
Junxiao Shi | 2ac79d9 | 2015-03-23 11:16:18 -0700 | [diff] [blame] | 22 | bld.program( |
Junxiao Shi | 2ac79d9 | 2015-03-23 11:16:18 -0700 | [diff] [blame] | 23 | target='../../bin/ndnpoke', |
Davide Pesavento | 3347eaa | 2019-01-16 18:41:46 -0500 | [diff] [blame] | 24 | name='ndnpoke', |
Eric Newberry | 2f041d2 | 2018-06-03 18:02:31 -0700 | [diff] [blame] | 25 | source='ndnpoke/main.cpp', |
| 26 | use='ndnpoke-objects') |
Zhuo Li | b355889 | 2016-08-12 15:51:12 -0700 | [diff] [blame] | 27 | |
| 28 | ## (for unit tests) |
| 29 | |
Alexander Afanasyev | 20c85cb | 2018-03-09 17:50:14 -0500 | [diff] [blame] | 30 | bld(target='peek-objects', |
Davide Pesavento | 3347eaa | 2019-01-16 18:41:46 -0500 | [diff] [blame] | 31 | use='ndnpeek-objects ndnpoke-objects') |