source: examples/wscript_build @ 733aea2

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

wscript: always use installed external dependancies, simplify

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