blob: 56ff392d765a6c835d6cf4062dca2c78b0c64d34 [file] [log] [blame]
Andrea Tosatto672b9a72016-01-05 16:18:20 +01001# -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
2top = '../..'
3
4def build(bld):
5
6 bld(features='cxx',
7 name='ndncatchunks-objects',
8 source=bld.path.ant_glob('catchunks/*.cpp', excl='catchunks/ndncatchunks.cpp'),
9 use='core-objects')
10
11 bld(features='cxx cxxprogram',
12 target='../../bin/ndncatchunks',
13 source='catchunks/ndncatchunks.cpp',
14 use='ndncatchunks-objects')
15
16 bld(features='cxx',
17 name='ndnputchunks-objects',
18 source=bld.path.ant_glob('putchunks/*.cpp', excl='putchunks/ndnputchunks.cpp'),
19 use='core-objects')
20
21 bld(features='cxx cxxprogram',
22 target='../../bin/ndnputchunks',
23 source='putchunks/ndnputchunks.cpp',
24 use='ndnputchunks-objects')
25
26 ## (for unit tests)
27
28 bld(name='chunks-objects',
29 use='ndncatchunks-objects ndnputchunks-objects')
30