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): | ||||
6 | if bld.env['WITH_EXAMPLES']: | ||||
7 | for app in bld.path.ant_glob('*.cpp'): | ||||
8 | bld(features=['cxx', 'cxxprogram'], | ||||
9 | target='%s' % (str(app.change_ext('', '.cpp'))), | ||||
10 | source=app, | ||||
11 | use='NDN_CXX', | ||||
12 | includes="../src", | ||||
13 | install_path=None, | ||||
14 | ) |