feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change
on this file since 7e9c67d was
7e9c67d,
checked in by Paul Brossier <piem@piem.org>, 9 years ago
|
tests/wscript_build: link against libaubio
|
-
Property mode set to
100644
|
File size:
840 bytes
|
Rev | Line | |
---|
[6ed0f4e] | 1 | # vim:set syntax=python: |
---|
| 2 | |
---|
[7e9c67d] | 3 | lib = ['aubio'] |
---|
| 4 | lib += ['m'] if 'CL.exe' not in ctx.env.CC[0] else [] |
---|
| 5 | |
---|
[d0cb3d8] | 6 | cflags = ['-g'] if 'CL.exe' not in ctx.env.CC[0] else None |
---|
[58cffee] | 7 | |
---|
| 8 | uselib = [] |
---|
| 9 | uselib += ['FFTW3', 'FFTW3F'] |
---|
| 10 | uselib += ['SAMPLERATE'] |
---|
| 11 | uselib += ['SNDFILE'] |
---|
| 12 | uselib += ['AVCODEC'] |
---|
| 13 | uselib += ['AVFORMAT'] |
---|
| 14 | uselib += ['AVRESAMPLE'] |
---|
| 15 | uselib += ['AVUTIL'] |
---|
| 16 | uselib += ['JACK'] |
---|
| 17 | uselib += ['BLAS'] |
---|
| 18 | |
---|
| 19 | includes = ['../src', '.'] |
---|
| 20 | |
---|
[6ed0f4e] | 21 | for target_name in ctx.path.ant_glob('src/**/*.c'): |
---|
[dc0e759] | 22 | extra_source = [] |
---|
| 23 | bld(features = 'c cprogram test', |
---|
[58cffee] | 24 | lib = lib, |
---|
[dc0e759] | 25 | uselib = uselib, |
---|
| 26 | source = [target_name] + extra_source, |
---|
| 27 | target = str(target_name).split('.')[0], |
---|
| 28 | includes = includes, |
---|
| 29 | install_path = None, |
---|
| 30 | defines = 'AUBIO_UNSTABLE_API=1', |
---|
[d0cb3d8] | 31 | cflags = cflags, |
---|
[dc0e759] | 32 | use = 'aubio') |
---|
Note: See
TracBrowser
for help on using the repository browser.