source: examples/wscript_build @ 7079887

feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change on this file since 7079887 was c52b483, checked in by Paul Brossier <piem@piem.org>, 11 years ago

examples/wscript_build: simplify

  • Property mode set to 100644
File size: 547 bytes
Line 
1# vim:set syntax=python:
2
3# build examples
4utilsio = bld(
5        name = 'utilsio',
6        features = 'c',
7        includes = '../src',
8        source = ['utils.c', 'jackio.c'],
9        target = 'utilsio')
10
11# loop over all *.c filenames in examples to build them all
12for source_file in ctx.path.ant_glob('*.c', excl = ['utils.c', 'jackio.c']):
13  bld.program(features = 'c cprogram',
14      includes = '../src',
15      lib = 'm',
16      use = ['aubio', 'utilsio'],
17      source = str(source_file),
18      target = str(source_file).split('.')[0]
19    )
Note: See TracBrowser for help on using the repository browser.