blob: 78b50ca7c3ea5dfaf3161eb82d75953cf3f443ae [file] [log] [blame]
Alexander Afanasyev4ffcff22014-09-02 15:39:20 -07001# -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
2
3top = '..'
4
5def build(bld):
6 for app in bld.path.ant_glob('tools/*', dir=True):
7 if os.path.isdir(app.abspath()):
8 bld(features=['cxx', 'cxxprogram'],
9 target = '../bin/%s' % (str(app)),
10 source = app.ant_glob(['**/*.cpp']),
11 use = 'ndns-objects',
12 )
13
14 for app in bld.path.ant_glob('tools/*.cpp'):
15 bld(features=['cxxprogram'],
16 target = 'bin/%s' % (str(app.change_ext('','.cpp'))),
17 source = app,
18 use = 'ndns-objects',
19 )