Wentao Shang | bcbc929 | 2014-04-28 21:17:06 -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): | ||||
Shuo Chen | ca32918 | 2014-03-19 18:05:18 -0700 | [diff] [blame] | 6 | if bld.env['WITH_TOOLS']: |
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 | ) |