ref: 6a6cb48e0dcd647d4f963fedfb9652ddc88d988b
dir: /tests/wscript_build/
# vim:set syntax=python: lib = 'm' if 'CL.exe' not in ctx.env.CC[0] else None cflags = ['-g'] if 'CL.exe' not in ctx.env.CC[0] else None uselib = [] uselib += ['FFTW3', 'FFTW3F'] uselib += ['SAMPLERATE'] uselib += ['SNDFILE'] uselib += ['AVCODEC'] uselib += ['AVFORMAT'] uselib += ['AVRESAMPLE'] uselib += ['AVUTIL'] uselib += ['JACK'] uselib += ['BLAS'] includes = ['../src', '.'] for target_name in ctx.path.ant_glob('src/**/*.c'): extra_source = [] bld(features = 'c cprogram test', lib = lib, uselib = uselib, source = [target_name] + extra_source, target = str(target_name).split('.')[0], includes = includes, install_path = None, defines = 'AUBIO_UNSTABLE_API=1', cflags = cflags, use = 'aubio')