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