feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change
on this file since a7f398d 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
|
Rev | Line | |
---|
[d62c32f] | 1 | # vim:set syntax=python: |
---|
| 2 | |
---|
[ed090ff7] | 3 | uselib = [] |
---|
[db86a46] | 4 | uselib += ['FFTW3', 'FFTW3F'] |
---|
| 5 | uselib += ['SAMPLERATE'] |
---|
| 6 | uselib += ['SNDFILE'] |
---|
| 7 | uselib += ['AVCODEC'] |
---|
| 8 | uselib += ['AVFORMAT'] |
---|
| 9 | uselib += ['AVRESAMPLE'] |
---|
| 10 | uselib += ['AVUTIL'] |
---|
[ed090ff7] | 11 | uselib += ['JACK'] |
---|
[f0ce36a1] | 12 | uselib += ['BLAS'] |
---|
[ed090ff7] | 13 | |
---|
[f6ee160] | 14 | utils_source = ['utils.c', 'jackio.c'] |
---|
| 15 | programs_source = ctx.path.ant_glob('*.c', excl = utils_source) |
---|
| 16 | |
---|
[d62c32f] | 17 | # build examples |
---|
[f6ee160] | 18 | bld(features = 'c', |
---|
[dc0e759] | 19 | source = utils_source, |
---|
| 20 | includes = ['../src'], |
---|
| 21 | uselib = uselib, |
---|
| 22 | target = 'utilsio') |
---|
[110ac90] | 23 | |
---|
[d62c32f] | 24 | # loop over all *.c filenames in examples to build them all |
---|
[f6ee160] | 25 | for source_file in programs_source: |
---|
[dc0e759] | 26 | bld(features = 'c cprogram', |
---|
| 27 | includes = '../src', |
---|
| 28 | lib = 'm', |
---|
| 29 | use = ['aubio', 'utilsio'], |
---|
[6d7acc8] | 30 | uselib = uselib, |
---|
[dc0e759] | 31 | source = source_file, |
---|
| 32 | target = str(source_file).split('.')[0] |
---|
| 33 | ) |
---|
Note: See
TracBrowser
for help on using the repository browser.