source: examples/wscript_build @ 5bfb0fd

feature/autosinkfeature/constantqfeature/pitchshiftfeature/pydocstringsfeature/timestretchpitchshiftsamplertimestretchyinfft+
Last change on this file since 5bfb0fd was c52b483, checked in by Paul Brossier <piem@piem.org>, 7 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.