shithub: aubio

ref: 9e4e389fccbb102cb25f7ae7664ee5ede9036481
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',
       )