Yingdi Yu | 40cd1c3 | 2014-04-17 15:02:17 -0700 | [diff] [blame] | 1 | # -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- |
Yingdi Yu | 40cd1c3 | 2014-04-17 15:02:17 -0700 | [diff] [blame] | 2 | """ |
Davide Pesavento | 8de8a8b | 2022-05-12 01:26:43 -0400 | [diff] [blame] | 3 | Copyright (c) 2014-2022, The University of Memphis |
Muktadir Chowdhury | f04f989 | 2017-08-20 20:42:56 -0500 | [diff] [blame] | 4 | Regents of the University of California |
Yingdi Yu | 40cd1c3 | 2014-04-17 15:02:17 -0700 | [diff] [blame] | 5 | |
| 6 | This file is part of NLSR (Named-data Link State Routing). |
| 7 | See AUTHORS.md for complete list of NLSR authors and contributors. |
| 8 | |
| 9 | NLSR is free software: you can redistribute it and/or modify it under the terms |
| 10 | of the GNU General Public License as published by the Free Software Foundation, |
| 11 | either version 3 of the License, or (at your option) any later version. |
| 12 | |
| 13 | NLSR is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; |
| 14 | without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR |
| 15 | PURPOSE. See the GNU General Public License for more details. |
| 16 | |
| 17 | You should have received a copy of the GNU General Public License along with |
| 18 | NLSR, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>. |
| 19 | """ |
| 20 | |
| 21 | top = '..' |
| 22 | |
| 23 | def build(bld): |
Alexander Afanasyev | 67758b1 | 2018-03-06 18:36:44 -0500 | [diff] [blame] | 24 | bld.objects(target='unit-test-objects', |
| 25 | source=bld.path.ant_glob('**/*.cpp', excl=['main.cpp']), |
| 26 | use='nlsr-objects') |
Yingdi Yu | 40cd1c3 | 2014-04-17 15:02:17 -0700 | [diff] [blame] | 27 | |
Alexander Afanasyev | 67758b1 | 2018-03-06 18:36:44 -0500 | [diff] [blame] | 28 | bld.program(target='../unit-tests-nlsr', |
| 29 | name='unit-tests-nlsr', |
| 30 | source='main.cpp', |
Alexander Afanasyev | 67758b1 | 2018-03-06 18:36:44 -0500 | [diff] [blame] | 31 | use='unit-test-objects', |
| 32 | install_path=None) |