feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change
on this file since 36e95674 was
36e95674,
checked in by Paul Brossier <piem@piem.org>, 9 years ago
|
examples/wscript_build: link against libaubio
|
-
Property mode set to
100644
|
File size:
927 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 | 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 | utils_source = ['utils.c', 'jackio.c'] |
---|
18 | programs_source = ctx.path.ant_glob('*.c', excl = utils_source) |
---|
19 | |
---|
20 | # build examples |
---|
21 | bld(features = 'c', |
---|
22 | source = utils_source, |
---|
23 | includes = ['../src'], |
---|
24 | uselib = uselib, |
---|
25 | target = 'utilsio') |
---|
26 | |
---|
27 | # loop over all *.c filenames in examples to build them all |
---|
28 | for source_file in programs_source: |
---|
29 | bld(features = 'c cprogram', |
---|
30 | includes = '../src', |
---|
31 | lib = lib, |
---|
32 | use = ['aubio', 'utilsio'], |
---|
33 | uselib = uselib, |
---|
34 | source = source_file, |
---|
35 | target = str(source_file).split('.')[0] |
---|
36 | ) |
---|
Note: See
TracBrowser
for help on using the repository browser.