shithub: aubio

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