source: examples/wscript_build @ 7816f2b

feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change on this file since 7816f2b was f6ee160, checked in by Paul Brossier <piem@piem.org>, 11 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.