Weiqi Shi | 68f2cf6 | 2014-08-26 12:35:45 -0700 | [diff] [blame] | 1 | # -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- |
2 | |||||
3 | top = '..' | ||||
4 | |||||
5 | def build(bld): | ||||
Davide Pesavento | ed2f476 | 2019-01-25 00:40:46 -0500 | [diff] [blame] | 6 | for ex in bld.path.ant_glob('*.cpp'): |
7 | name = ex.change_ext('').path_from(bld.path.get_bld()) | ||||
8 | bld.program(name='example-%s' % name, | ||||
9 | target=name, | ||||
10 | source=[ex], | ||||
11 | use='NDN_CXX', | ||||
12 | includes='../src', | ||||
13 | install_path=None) |