source: examples/wscript_build @ 466dff3

feature/autosinkfeature/constantqfeature/pitchshiftfeature/pydocstringsfeature/timestretchpitchshiftsamplertimestretchyinfft+
Last change on this file since 466dff3 was f6ee160, checked in by Paul Brossier <piem@piem.org>, 7 years ago

examples/wscript_build: simplify

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