blob: f0c5f5e08747e625860118ea6ec0ee02f588af30 [file] [log] [blame]
# -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
top = '../..'
def build(bld):
bld.objects(
target='ping-client-objects',
source=bld.path.ant_glob('client/*.cpp', excl='client/ndn-ping.cpp'),
use='core-objects')
bld.program(
target='../../bin/ndnping',
name='ndnping',
source='client/ndn-ping.cpp',
use='ping-client-objects')
bld.objects(
target='ping-server-objects',
source=bld.path.ant_glob('server/*.cpp', excl='server/ndn-ping-server.cpp'),
use='core-objects')
bld.program(
target='../../bin/ndnpingserver',
name='ndnpingserver',
source='server/ndn-ping-server.cpp',
use='ping-server-objects')
## (for unit tests)
bld(target='ping-objects',
use='ping-client-objects ping-server-objects')