shithub: aubio

ref: a9c33a293278a0b6bc3b1122d331469bc1601865
dir: /tests/wscript_build/

View raw version
# vim:set syntax=python:

uselib = ['aubio']

includes = ['../src', '.']
programs_sources = ctx.path.ant_glob('src/**/*.c')

for source_file in programs_sources:
    bld(features = 'c cprogram test',
            source = source_file,
            target = str(source_file).split('.')[0],
            includes = includes,
            use = uselib,
            install_path = None,
            defines = 'AUBIO_UNSTABLE_API=1',
       )