blob: b719c8b9cd01ceefdcd13cd3efec9913a39b1a8b [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
Davide Pesavento1aa91432018-02-19 22:43:31 -05006 bld.objects(
7 target='ndnpeek-objects',
Zhuo Lib3558892016-08-12 15:51:12 -07008 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
Davide Pesavento1aa91432018-02-19 22:43:31 -050011 bld.program(
Zhuo Lib3558892016-08-12 15:51:12 -070012 target='../../bin/ndnpeek',
13 source='ndnpeek/main.cpp',
Davide Pesavento1aa91432018-02-19 22:43:31 -050014 use='ndnpeek-objects')
Zhuo Lib3558892016-08-12 15:51:12 -070015
Junxiao Shi2ac79d92015-03-23 11:16:18 -070016 bld.program(
Junxiao Shi2ac79d92015-03-23 11:16:18 -070017 target='../../bin/ndnpoke',
18 source='ndn-poke.cpp',
Davide Pesavento89d91752016-08-14 11:34:09 +020019 use='core-objects')
Zhuo Lib3558892016-08-12 15:51:12 -070020
21 ## (for unit tests)
22
23 bld(name='peek-objects',
Davide Pesavento1aa91432018-02-19 22:43:31 -050024 use='ndnpeek-objects')