source: tests/wscript_build @ aad1235

feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change on this file since aad1235 was f0ce36a1, checked in by Paul Brossier <piem@piem.org>, 9 years ago

wscript: check if we find atlas/cblas.h

  • Property mode set to 100644
File size: 752 bytes
Line 
1# vim:set syntax=python:
2
3for target_name in ctx.path.ant_glob('src/**/*.c'):
4    uselib = []
5    uselib += ['FFTW3', 'FFTW3F']
6    uselib += ['SAMPLERATE']
7    uselib += ['SNDFILE']
8    uselib += ['AVCODEC']
9    uselib += ['AVFORMAT']
10    uselib += ['AVRESAMPLE']
11    uselib += ['AVUTIL']
12    uselib += ['JACK']
13    uselib += ['BLAS']
14    includes = ['../src', '.']
15    extra_source = []
16
17    bld(features = 'c cprogram test',
18            lib = 'm',
19            uselib = uselib,
20            source = [target_name] + extra_source,
21            target = str(target_name).split('.')[0],
22            includes = includes,
23            install_path = None,
24            defines = 'AUBIO_UNSTABLE_API=1',
25            cflags = ['-g'],
26            use = 'aubio')
Note: See TracBrowser for help on using the repository browser.