Files
ndn-tools/tools/ping/wscript
T
Alexander Afanasyev 20c85cb868 build: Cleanup and update of build scripts
Change-Id: I7fb5b8696d3b068249ae16b117bd27646d990dc3
2018-03-11 17:16:15 -04:00

32 lines
878 B
Python

# -*- 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')