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
Line 
1# vim:set syntax=python:
2
3# build examples
4utilsio = ctx.new_task_gen(name = 'utilsio', features = 'c',
5      includes = '../src',
6      source = ['utils.c', 'jackio.c'],
7      uselib = ['LASH', 'JACK'],
8      target = 'utilsio')
9
10# loop over all *.c filenames in examples to build them all
11for target_name in ctx.path.ant_glob('*.c', excl = ['utils.c', 'jackio.c']):
12  ctx.new_task_gen(features = 'c cprogram',
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.