blob: c737d81a44945c8d193b552b83c60114784c86b7 [file] [log] [blame]
Ashlesh Gawande4c0a7472018-08-08 12:20:33 -05001# -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
2
3top = '..'
4
5def build(bld):
6 # List all .cpp files (whole example in one .cpp)
7 for ex in bld.path.ant_glob('*.cpp'):
8 name = ex.change_ext('').path_from(bld.path.get_bld())
9 bld.program(name='example-%s' % name,
10 target='psync-%s' % name,
11 source=[ex],
12 use='PSync')