Junxiao Shi | e5adbfd | 2015-06-18 14:42:06 -0700 | [diff] [blame] | 1 | # -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- |
| 2 | top = '../..' |
| 3 | |
| 4 | def build(bld): |
Alexander Afanasyev | 20c85cb | 2018-03-09 17:50:14 -0500 | [diff] [blame] | 5 | bld.objects( |
| 6 | target='dissect-objects', |
Junxiao Shi | 78c78cc | 2015-06-19 15:53:53 -0700 | [diff] [blame] | 7 | source=bld.path.ant_glob('*.cpp', excl='main.cpp'), |
Davide Pesavento | 89d9175 | 2016-08-14 11:34:09 +0200 | [diff] [blame] | 8 | use='core-objects') |
Junxiao Shi | 78c78cc | 2015-06-19 15:53:53 -0700 | [diff] [blame] | 9 | |
Alexander Afanasyev | 20c85cb | 2018-03-09 17:50:14 -0500 | [diff] [blame] | 10 | bld.program( |
Davide Pesavento | 9907cc1 | 2025-04-20 23:30:06 -0400 | [diff] [blame^] | 11 | target=f'{top}/bin/ndndissect', |
| 12 | name='ndndissect', |
Junxiao Shi | 78c78cc | 2015-06-19 15:53:53 -0700 | [diff] [blame] | 13 | source='main.cpp', |
Davide Pesavento | 89d9175 | 2016-08-14 11:34:09 +0200 | [diff] [blame] | 14 | use='dissect-objects') |
Davide Pesavento | 9907cc1 | 2025-04-20 23:30:06 -0400 | [diff] [blame^] | 15 | |
| 16 | # backward compatibility |
| 17 | bld.symlink_as('${BINDIR}/ndn-dissect', 'ndndissect') |