blob: 3e6755d1be85eecd470c870dbaead146a32abfa8 [file] [log] [blame]
Junxiao Shi11b2ae92015-03-21 11:29:19 -07001# -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
2top = '../..'
3
4def build(bld):
Junxiao Shi11b2ae92015-03-21 11:29:19 -07005
Junxiao Shi2713a3b2015-06-22 16:19:05 -07006 bld(features='cxx',
7 name='ping-client-objects',
8 source=bld.path.ant_glob('client/*.cpp', excl='client/ndn-ping.cpp'),
9 use='core-objects')
10
11 bld(features='cxx cxxprogram',
12 target='../../bin/ndnping',
13 source='client/ndn-ping.cpp',
14 use='ping-client-objects')
15
16 bld(features='cxx',
17 name='ping-server-objects',
18 source=bld.path.ant_glob('server/*.cpp', excl='server/ndn-ping-server.cpp'),
19 use='core-objects')
20
21 bld(features='cxx cxxprogram',
Junxiao Shi11b2ae92015-03-21 11:29:19 -070022 target='../../bin/ndnpingserver',
Junxiao Shi2713a3b2015-06-22 16:19:05 -070023 source='server/ndn-ping-server.cpp',
24 use='ping-server-objects')
25
26 ## (for unit tests)
27
28 bld(name='ping-objects',
29 use='ping-client-objects ping-server-objects')