feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5
Last change
on this file since ac26526 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
|
Rev | Line | |
---|
[d62c32f] | 1 | # vim:set syntax=python: |
---|
| 2 | |
---|
[281381f] | 3 | import os.path |
---|
| 4 | |
---|
[762c7fa] | 5 | uselib = ['aubio'] |
---|
[ed090ff7] | 6 | uselib += ['JACK'] |
---|
| 7 | |
---|
[762c7fa] | 8 | includes = ['../src'] |
---|
[f6ee160] | 9 | utils_source = ['utils.c', 'jackio.c'] |
---|
| 10 | programs_source = ctx.path.ant_glob('*.c', excl = utils_source) |
---|
| 11 | |
---|
[d62c32f] | 12 | # build examples |
---|
[f6ee160] | 13 | bld(features = 'c', |
---|
[dc0e759] | 14 | source = utils_source, |
---|
[762c7fa] | 15 | includes = includes, |
---|
| 16 | use = uselib, |
---|
[dc0e759] | 17 | target = 'utilsio') |
---|
[110ac90] | 18 | |
---|
[d62c32f] | 19 | # loop over all *.c filenames in examples to build them all |
---|
[f6ee160] | 20 | for source_file in programs_source: |
---|
[281381f] | 21 | target = os.path.basename(os.path.splitext(str(source_file))[0]) |
---|
[dc0e759] | 22 | bld(features = 'c cprogram', |
---|
| 23 | source = source_file, |
---|
[281381f] | 24 | target = target, |
---|
[762c7fa] | 25 | includes = includes, |
---|
| 26 | use = uselib + ['utilsio'], |
---|
| 27 | ) |
---|
Note: See
TracBrowser
for help on using the repository browser.