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', |
| 13 | source='ndnpeek/main.cpp', |
Davide Pesavento | 1aa9143 | 2018-02-19 22:43:31 -0500 | [diff] [blame] | 14 | use='ndnpeek-objects') |
Zhuo Li | b355889 | 2016-08-12 15:51:12 -0700 | [diff] [blame] | 15 | |
Eric Newberry | 2f041d2 | 2018-06-03 18:02:31 -0700 | [diff] [blame^] | 16 | bld.objects( |
| 17 | target='ndnpoke-objects', |
| 18 | source=bld.path.ant_glob('ndnpoke/*.cpp', excl='ndnpoke/main.cpp'), |
| 19 | use='core-objects') |
| 20 | |
Junxiao Shi | 2ac79d9 | 2015-03-23 11:16:18 -0700 | [diff] [blame] | 21 | bld.program( |
Junxiao Shi | 2ac79d9 | 2015-03-23 11:16:18 -0700 | [diff] [blame] | 22 | target='../../bin/ndnpoke', |
Eric Newberry | 2f041d2 | 2018-06-03 18:02:31 -0700 | [diff] [blame^] | 23 | source='ndnpoke/main.cpp', |
| 24 | use='ndnpoke-objects') |
Zhuo Li | b355889 | 2016-08-12 15:51:12 -0700 | [diff] [blame] | 25 | |
| 26 | ## (for unit tests) |
| 27 | |
Alexander Afanasyev | 20c85cb | 2018-03-09 17:50:14 -0500 | [diff] [blame] | 28 | bld(target='peek-objects', |
Eric Newberry | 2f041d2 | 2018-06-03 18:02:31 -0700 | [diff] [blame^] | 29 | use=['ndnpeek-objects', 'ndnpoke-objects']) |