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