forked from named-data/ndn-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwscript
31 lines (24 loc) · 818 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
30
31
# -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
top = '../..'
def build(bld):
bld.objects(
target='ndnpeek-objects',
source=bld.path.ant_glob('ndnpeek/*.cpp', excl='ndnpeek/main.cpp'),
use='core-objects')
bld.program(
target='../../bin/ndnpeek',
name='ndnpeek',
source='ndnpeek/main.cpp',
use='ndnpeek-objects')
bld.objects(
target='ndnpoke-objects',
source=bld.path.ant_glob('ndnpoke/*.cpp', excl='ndnpoke/main.cpp'),
use='core-objects')
bld.program(
target='../../bin/ndnpoke',
name='ndnpoke',
source='ndnpoke/main.cpp',
use='ndnpoke-objects')
## (for unit tests)
bld(target='peek-objects',
use='ndnpeek-objects ndnpoke-objects')