feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5sampleryinfft+
Last change
on this file since a203d0e was
281381f,
checked in by Paul Brossier <piem@piem.org>, 8 years ago
|
{examples,tests}/wscrtip_build: update build target name
|
-
Property mode set to
100644
|
File size:
698 bytes
|
Line | |
---|
1 | # vim:set syntax=python: |
---|
2 | |
---|
3 | import os.path |
---|
4 | |
---|
5 | uselib = ['aubio'] |
---|
6 | uselib += ['JACK'] |
---|
7 | |
---|
8 | includes = ['../src'] |
---|
9 | utils_source = ['utils.c', 'jackio.c'] |
---|
10 | programs_source = ctx.path.ant_glob('*.c', excl = utils_source) |
---|
11 | |
---|
12 | # build examples |
---|
13 | bld(features = 'c', |
---|
14 | source = utils_source, |
---|
15 | includes = includes, |
---|
16 | use = uselib, |
---|
17 | target = 'utilsio') |
---|
18 | |
---|
19 | # loop over all *.c filenames in examples to build them all |
---|
20 | for source_file in programs_source: |
---|
21 | target = os.path.basename(os.path.splitext(str(source_file))[0]) |
---|
22 | bld(features = 'c cprogram', |
---|
23 | source = source_file, |
---|
24 | target = target, |
---|
25 | includes = includes, |
---|
26 | use = uselib + ['utilsio'], |
---|
27 | ) |
---|
Note: See
TracBrowser
for help on using the repository browser.