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): | ||||
Davide Pesavento | ed2f476 | 2019-01-25 00:40:46 -0500 | [diff] [blame] | 6 | if not bld.env['WITH_TOOLS']: |
7 | return | ||||
8 | |||||
9 | for tool in bld.path.ant_glob('*.cpp'): | ||||
10 | name = tool.change_ext('').path_from(bld.path.get_bld()) | ||||
11 | bld.program(name=name, | ||||
12 | target='../bin/%s' % name, | ||||
13 | source=[tool], | ||||
14 | use='repo-objects') |