blob: 21e0b099b84aaa9f295077caa7a095f4db2a8151 [file] [log] [blame]
Chengyu Faneb0422c2015-03-04 16:34:14 -07001# -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
2
3"""
4 Copyright (c) 2013-2015, Regents of the University of California,
5 2015, Colorado State University.
6
7 This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions).
8
9 ndn-cxx library is free software: you can redistribute it and/or modify it under the
10 terms of the GNU Lesser General Public License as published by the Free Software
11 Foundation, either version 3 of the License, or (at your option) any later version.
12
13 ndn-cxx library is distributed in the hope that it will be useful, but WITHOUT ANY
14 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
15 PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
16
17 You should have received copies of the GNU General Public License and GNU Lesser
18 General Public License along with ndn-cxx, e.g., in COPYING.md file. If not, see
19 <http://www.gnu.org/licenses/>.
20
21 See AUTHORS.md for complete list of ndn-cxx authors and contributors.
22"""
23
24top = '..'
25
26def build(bld):
27 # unit test objects
28 unit_tests_objects = bld(
29 target="unit-test-objects",
30 name="unit-test-objects",
31 features="cxx",
32 source=bld.path.ant_glob(['unit-tests/**/*.cpp']),
33 use='ndn-cxx BOOST',
34 includes='.',
35 install_path=None)
36
37 # unit test app
38 bld(features='cxx cxxprogram',
39 target='../unit-tests',
40 name='unit-tests-main-unit',
41 source="main.cpp",
42 use='ndn-cxx unit-test-objects BOOST',
43 install_path=None)
44