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
|
Line | |
---|
1 | # vim:set syntax=python: |
---|
2 | |
---|
3 | lib = ['aubio'] |
---|
4 | lib += ['m'] if 'CL.exe' not in ctx.env.CC[0] else [] |
---|
5 | |
---|
6 | cflags = ['-g'] if 'CL.exe' not in ctx.env.CC[0] else None |
---|
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 | |
---|
21 | for target_name in ctx.path.ant_glob('src/**/*.c'): |
---|
22 | extra_source = [] |
---|
23 | bld(features = 'c cprogram test', |
---|
24 | lib = lib, |
---|
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', |
---|
31 | cflags = cflags, |
---|
32 | use = 'aubio') |
---|
Note: See
TracBrowser
for help on using the repository browser.