source: examples/wscript_build @ 82cdc97

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

wscript: check if we find atlas/cblas.h

  • Property mode set to 100644
File size: 856 bytes
RevLine 
[d62c32f]1# vim:set syntax=python:
2
[ed090ff7]3uselib = []
[db86a46]4uselib += ['FFTW3', 'FFTW3F']
5uselib += ['SAMPLERATE']
6uselib += ['SNDFILE']
7uselib += ['AVCODEC']
8uselib += ['AVFORMAT']
9uselib += ['AVRESAMPLE']
10uselib += ['AVUTIL']
[ed090ff7]11uselib += ['JACK']
[f0ce36a1]12uselib += ['BLAS']
[ed090ff7]13
[f6ee160]14utils_source = ['utils.c', 'jackio.c']
15programs_source = ctx.path.ant_glob('*.c', excl = utils_source)
16
[d62c32f]17# build examples
[f6ee160]18bld(features = 'c',
[dc0e759]19        source = utils_source,
20        includes = ['../src'],
21        uselib = uselib,
22        target = 'utilsio')
[110ac90]23
[d62c32f]24# loop over all *.c filenames in examples to build them all
[f6ee160]25for source_file in programs_source:
[dc0e759]26    bld(features = 'c cprogram',
27            includes = '../src',
28            lib = 'm',
29            use = ['aubio', 'utilsio'],
[6d7acc8]30            uselib = uselib,
[dc0e759]31            source = source_file,
32            target = str(source_file).split('.')[0]
33            )
Note: See TracBrowser for help on using the repository browser.