feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change
on this file since 4598946 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
|
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'] |
---|
| 12 | |
---|
[f6ee160] | 13 | utils_source = ['utils.c', 'jackio.c'] |
---|
| 14 | programs_source = ctx.path.ant_glob('*.c', excl = utils_source) |
---|
| 15 | |
---|
[d62c32f] | 16 | # build examples |
---|
[f6ee160] | 17 | bld(features = 'c', |
---|
[dc0e759] | 18 | source = utils_source, |
---|
| 19 | includes = ['../src'], |
---|
| 20 | uselib = uselib, |
---|
| 21 | target = 'utilsio') |
---|
[110ac90] | 22 | |
---|
[d62c32f] | 23 | # loop over all *.c filenames in examples to build them all |
---|
[f6ee160] | 24 | for source_file in programs_source: |
---|
[dc0e759] | 25 | bld(features = 'c cprogram', |
---|
| 26 | includes = '../src', |
---|
| 27 | lib = 'm', |
---|
| 28 | use = ['aubio', 'utilsio'], |
---|
[6d7acc8] | 29 | uselib = uselib, |
---|
[dc0e759] | 30 | source = source_file, |
---|
| 31 | target = str(source_file).split('.')[0] |
---|
| 32 | ) |
---|
Note: See
TracBrowser
for help on using the repository browser.