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