da85e25e59
Also unify style of argv declaration Change-Id: I1dcb8689b1cd38e042a0b1f05be7f98bd2d487ed
32 lines
882 B
Python
32 lines
882 B
Python
# -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
|
|
top = '../..'
|
|
|
|
def build(bld):
|
|
|
|
bld.objects(
|
|
target='ndncatchunks-objects',
|
|
source=bld.path.ant_glob('catchunks/*.cpp', excl='catchunks/main.cpp'),
|
|
use='core-objects')
|
|
|
|
bld.program(
|
|
target='../../bin/ndncatchunks',
|
|
name='ndncatchunks',
|
|
source='catchunks/main.cpp',
|
|
use='ndncatchunks-objects')
|
|
|
|
bld.objects(
|
|
target='ndnputchunks-objects',
|
|
source=bld.path.ant_glob('putchunks/*.cpp', excl='putchunks/main.cpp'),
|
|
use='core-objects')
|
|
|
|
bld.program(
|
|
target='../../bin/ndnputchunks',
|
|
name='ndnputchunks',
|
|
source='putchunks/main.cpp',
|
|
use='ndnputchunks-objects')
|
|
|
|
## (for unit tests)
|
|
|
|
bld(target='chunks-objects',
|
|
use='ndncatchunks-objects ndnputchunks-objects')
|