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 | |
Junxiao Shi | 2ac79d9 | 2015-03-23 11:16:18 -0700 | [diff] [blame] | 16 | bld.program( |
Junxiao Shi | 2ac79d9 | 2015-03-23 11:16:18 -0700 | [diff] [blame] | 17 | target='../../bin/ndnpoke', |
18 | source='ndn-poke.cpp', | ||||
Davide Pesavento | 89d9175 | 2016-08-14 11:34:09 +0200 | [diff] [blame] | 19 | use='core-objects') |
Zhuo Li | b355889 | 2016-08-12 15:51:12 -0700 | [diff] [blame] | 20 | |
21 | ## (for unit tests) | ||||
22 | |||||
23 | bld(name='peek-objects', | ||||
Davide Pesavento | 1aa9143 | 2018-02-19 22:43:31 -0500 | [diff] [blame^] | 24 | use='ndnpeek-objects') |