feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change
on this file since 8bffcff was
f4ad83d2,
checked in by Paul Brossier <piem@piem.org>, 9 years ago
|
examples/wscript_build: no -lm for msvc
|
-
Property mode set to
100644
|
File size:
910 bytes
|
Line | |
---|
1 | # vim:set syntax=python: |
---|
2 | |
---|
3 | lib = 'm' if 'CL.exe' not in ctx.env.CC[0] else None |
---|
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 | utils_source = ['utils.c', 'jackio.c'] |
---|
17 | programs_source = ctx.path.ant_glob('*.c', excl = utils_source) |
---|
18 | |
---|
19 | # build examples |
---|
20 | bld(features = 'c', |
---|
21 | source = utils_source, |
---|
22 | includes = ['../src'], |
---|
23 | uselib = uselib, |
---|
24 | target = 'utilsio') |
---|
25 | |
---|
26 | # loop over all *.c filenames in examples to build them all |
---|
27 | for source_file in programs_source: |
---|
28 | bld(features = 'c cprogram', |
---|
29 | includes = '../src', |
---|
30 | lib = lib, |
---|
31 | use = ['aubio', 'utilsio'], |
---|
32 | uselib = uselib, |
---|
33 | source = source_file, |
---|
34 | target = str(source_file).split('.')[0] |
---|
35 | ) |
---|
Note: See
TracBrowser
for help on using the repository browser.