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