source: examples/wscript_build @ d7bce3c

feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change on this file since d7bce3c 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
RevLine 
[000b090]1# build examples
[46378b3]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')
[000b090]13
14# loop over all *.c filenames in examples to build them all
[46378b3]15for target_name in bld.path.ant_glob('*.c', excl = ['utils.c', 'jackio.c', 'sndfileio.c']):
16  bld.new_task_gen(features = 'c cprogram',
[2359cbd]17      add_objects = 'utilsio',
[740f06b]18      includes = '../src',
19      uselib = ['LASH', 'JACK', 'SNDFILE'],
[46378b3]20      use = ['aubio'],
[04ceeab]21      source = target_name,
22      # program name is filename.c without the .c
[46378b3]23      target = str(target_name).split('.')[0])
Note: See TracBrowser for help on using the repository browser.