feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change
on this file since 6017f94 was
d62c32f,
checked in by Paul Brossier <piem@piem.org>, 13 years ago
|
examples/wscript_build: update
|
-
Property mode set to
100644
|
File size:
846 bytes
|
Rev | Line | |
---|
[d62c32f] | 1 | # vim:set syntax=python: |
---|
| 2 | |
---|
| 3 | # build examples |
---|
| 4 | sndfileio = bld.new_task_gen(features = 'c', |
---|
| 5 | includes = '../src', |
---|
| 6 | source = ['sndfileio.c'], |
---|
| 7 | target = 'sndfileio') |
---|
[000b090] | 8 | |
---|
[d62c32f] | 9 | utilsio = bld.new_task_gen(name = 'utilsio', features = 'c', |
---|
| 10 | includes = '../src', |
---|
| 11 | add_objects = 'sndfileio', |
---|
| 12 | source = ['utils.c', 'jackio.c'], |
---|
| 13 | uselib = ['LASH', 'JACK', 'SNDFILE'], |
---|
| 14 | target = 'utilsio') |
---|
[110ac90] | 15 | |
---|
[d62c32f] | 16 | # loop over all *.c filenames in examples to build them all |
---|
| 17 | for target_name in bld.path.ant_glob('*.c', excl = ['utils.c', 'jackio.c', 'sndfileio.c']): |
---|
| 18 | bld.new_task_gen(features = 'c cprogram', |
---|
| 19 | add_objects = 'utilsio', |
---|
| 20 | includes = '../src', |
---|
| 21 | uselib = ['LASH', 'JACK', 'SNDFILE'], |
---|
| 22 | use = 'aubio', |
---|
| 23 | source = target_name, |
---|
| 24 | # program name is filename.c without the .c |
---|
| 25 | target = str(target_name).split('.')[0]) |
---|
Note: See
TracBrowser
for help on using the repository browser.