feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change
on this file since c82a034 was
db86a46,
checked in by Paul Brossier <piem@piem.org>, 10 years ago
|
{examples,tests}/wscript_build: add external libs
|
-
Property mode set to
100644
|
File size:
837 bytes
|
Line | |
---|
1 | # vim:set syntax=python: |
---|
2 | |
---|
3 | uselib = [] |
---|
4 | uselib += ['FFTW3', 'FFTW3F'] |
---|
5 | uselib += ['SAMPLERATE'] |
---|
6 | uselib += ['SNDFILE'] |
---|
7 | uselib += ['AVCODEC'] |
---|
8 | uselib += ['AVFORMAT'] |
---|
9 | uselib += ['AVRESAMPLE'] |
---|
10 | uselib += ['AVUTIL'] |
---|
11 | uselib += ['JACK'] |
---|
12 | |
---|
13 | utils_source = ['utils.c', 'jackio.c'] |
---|
14 | programs_source = ctx.path.ant_glob('*.c', excl = utils_source) |
---|
15 | |
---|
16 | # build examples |
---|
17 | bld(features = 'c', |
---|
18 | source = utils_source, |
---|
19 | includes = ['../src'], |
---|
20 | uselib = uselib, |
---|
21 | target = 'utilsio') |
---|
22 | |
---|
23 | # loop over all *.c filenames in examples to build them all |
---|
24 | for source_file in programs_source: |
---|
25 | bld(features = 'c cprogram', |
---|
26 | includes = '../src', |
---|
27 | lib = 'm', |
---|
28 | use = ['aubio', 'utilsio'], |
---|
29 | uselib = uselib, |
---|
30 | source = source_file, |
---|
31 | target = str(source_file).split('.')[0] |
---|
32 | ) |
---|
Note: See
TracBrowser
for help on using the repository browser.