forked from named-data/ndn-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wscript
29 lines (22 loc) · 868 Bytes
/
wscript
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
top = '../..'
def build(bld):
bld(features='cxx',
name='ping-client-objects',
source=bld.path.ant_glob('client/*.cpp', excl='client/ndn-ping.cpp'),
use='core-objects')
bld(features='cxx cxxprogram',
target='../../bin/ndnping',
source='client/ndn-ping.cpp',
use='ping-client-objects')
bld(features='cxx',
name='ping-server-objects',
source=bld.path.ant_glob('server/*.cpp', excl='server/ndn-ping-server.cpp'),
use='core-objects')
bld(features='cxx cxxprogram',
target='../../bin/ndnpingserver',
source='server/ndn-ping-server.cpp',
use='ping-server-objects')
## (for unit tests)
bld(name='ping-objects',
use='ping-client-objects ping-server-objects')