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