blob: f701269bd0ba245979cc682076e7762a7aa84917 [file] [log] [blame]
Junxiao Shi2ac79d92015-03-23 11:16:18 -07001# -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
2top = '../..'
3
4def build(bld):
Zhuo Lib3558892016-08-12 15:51:12 -07005
6 bld(features='cxx',
7 name='peek-ndnpeek-objects',
8 source=bld.path.ant_glob('ndnpeek/*.cpp', excl='ndnpeek/main.cpp'),
Davide Pesavento89d91752016-08-14 11:34:09 +02009 use='core-objects')
Junxiao Shi2ac79d92015-03-23 11:16:18 -070010
Zhuo Lib3558892016-08-12 15:51:12 -070011 bld(features='cxx cxxprogram',
12 target='../../bin/ndnpeek',
13 source='ndnpeek/main.cpp',
14 use='peek-ndnpeek-objects')
15
Junxiao Shi2ac79d92015-03-23 11:16:18 -070016 bld.program(
17 features='cxx',
18 target='../../bin/ndnpoke',
19 source='ndn-poke.cpp',
Davide Pesavento89d91752016-08-14 11:34:09 +020020 use='core-objects')
Zhuo Lib3558892016-08-12 15:51:12 -070021
22 ## (for unit tests)
23
24 bld(name='peek-objects',
25 use='peek-ndnpeek-objects')