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