45e83b8ecf99ea4898fdc534da374ce1e9c82bdb
[aubio.git] / tests / wscript_build
1 # vim:set syntax=python:
2
3 import os.path
4
5 uselib = ['aubio']
6
7 includes = ['../src', '.']
8 programs_sources = ctx.path.ant_glob('src/**/*.c')
9
10 for source_file in programs_sources:
11     target = os.path.basename(os.path.splitext(str(source_file))[0])
12     bld(features = 'c cprogram test',
13             source = source_file,
14             target = target,
15             includes = includes,
16             use = uselib,
17             install_path = None,
18             defines = 'AUBIO_UNSTABLE_API=1',
19        )