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