feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change
on this file since 1e4d90f 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
|
Line | |
---|
1 | # vim:set syntax=python: |
---|
2 | |
---|
3 | uselib = ['aubio'] |
---|
4 | uselib += ['JACK'] |
---|
5 | |
---|
6 | includes = ['../src'] |
---|
7 | utils_source = ['utils.c', 'jackio.c'] |
---|
8 | programs_source = ctx.path.ant_glob('*.c', excl = utils_source) |
---|
9 | |
---|
10 | # build examples |
---|
11 | bld(features = 'c', |
---|
12 | source = utils_source, |
---|
13 | includes = includes, |
---|
14 | use = uselib, |
---|
15 | target = 'utilsio') |
---|
16 | |
---|
17 | # loop over all *.c filenames in examples to build them all |
---|
18 | for source_file in programs_source: |
---|
19 | bld(features = 'c cprogram', |
---|
20 | source = source_file, |
---|
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.