4c0a7473c5
refs: #4793 Change-Id: I660ed74bca55debd885b4cdefb230225ccdfe4ca
12 lines
428 B
Python
12 lines
428 B
Python
# -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
|
|
|
|
top = '..'
|
|
|
|
def build(bld):
|
|
# List all .cpp files (whole example in one .cpp)
|
|
for ex in bld.path.ant_glob('*.cpp'):
|
|
name = ex.change_ext('').path_from(bld.path.get_bld())
|
|
bld.program(name='example-%s' % name,
|
|
target='psync-%s' % name,
|
|
source=[ex],
|
|
use='PSync') |