Alexander Afanasyev | 8b1674a | 2014-05-15 00:58:43 -0700 | [diff] [blame] | 1 | # -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- |
| 2 | |
Alexander Afanasyev | 5560fd4 | 2018-03-07 17:03:03 -0500 | [diff] [blame] | 3 | top = '../..' |
Alexander Afanasyev | 8b1674a | 2014-05-15 00:58:43 -0700 | [diff] [blame] | 4 | |
| 5 | def build(bld): |
Davide Pesavento | 31bca20 | 2024-02-25 23:10:26 -0500 | [diff] [blame] | 6 | for file in bld.path.ant_glob('*.cpp'): |
| 7 | name = file.change_ext('').path_from(bld.path.get_bld()) |
| 8 | bld.program( |
| 9 | name=f'bench-{name}', |
| 10 | target=name, |
| 11 | source=[file], |
| 12 | use='BOOST_TESTS ndn-cxx', |
| 13 | install_path=None) |