feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5sampler
Last change
on this file since 00d0275 was
f0ce36a1,
checked in by Paul Brossier <piem@piem.org>, 9 years ago
|
wscript: check if we find atlas/cblas.h
|
-
Property mode set to
100644
|
File size:
856 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 | uselib += ['BLAS'] |
---|
13 | |
---|
14 | utils_source = ['utils.c', 'jackio.c'] |
---|
15 | programs_source = ctx.path.ant_glob('*.c', excl = utils_source) |
---|
16 | |
---|
17 | # build examples |
---|
18 | bld(features = 'c', |
---|
19 | source = utils_source, |
---|
20 | includes = ['../src'], |
---|
21 | uselib = uselib, |
---|
22 | target = 'utilsio') |
---|
23 | |
---|
24 | # loop over all *.c filenames in examples to build them all |
---|
25 | for source_file in programs_source: |
---|
26 | bld(features = 'c cprogram', |
---|
27 | includes = '../src', |
---|
28 | lib = 'm', |
---|
29 | use = ['aubio', 'utilsio'], |
---|
30 | uselib = uselib, |
---|
31 | source = source_file, |
---|
32 | target = str(source_file).split('.')[0] |
---|
33 | ) |
---|
Note: See
TracBrowser
for help on using the repository browser.