source: examples/wscript_build @ 46378b3

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

wscript: update to waf 1.6.7

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