source: examples/wscript_build @ 301b807

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

src/io: moved sndfileio from examples

  • Property mode set to 100644
File size: 660 bytes
RevLine 
[d62c32f]1# vim:set syntax=python:
2
3# build examples
[d41bc4d]4utilsio = ctx.new_task_gen(name = 'utilsio', features = 'c',
[d62c32f]5      includes = '../src',
6      source = ['utils.c', 'jackio.c'],
[eae5898]7      uselib = ['LASH', 'JACK'],
[d62c32f]8      target = 'utilsio')
[110ac90]9
[d62c32f]10# loop over all *.c filenames in examples to build them all
[eae5898]11for target_name in ctx.path.ant_glob('*.c', excl = ['utils.c', 'jackio.c']):
[d41bc4d]12  ctx.new_task_gen(features = 'c cprogram',
[d62c32f]13      add_objects = 'utilsio',
14      includes = '../src',
15      uselib = ['LASH', 'JACK', 'SNDFILE'],
16      use = 'aubio',
17      source = target_name,
18      # program name is filename.c without the .c
19      target = str(target_name).split('.')[0])
Note: See TracBrowser for help on using the repository browser.