source: examples/wscript_build @ 0318cc1

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

wscript: always use installed external dependancies, simplify

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