source: examples/wscript_build @ 73e8f65

feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change on this file since 73e8f65 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
Line 
1# vim:set syntax=python:
2
3uselib = []
4uselib += ['FFTW3', 'FFTW3F']
5uselib += ['SAMPLERATE']
6uselib += ['SNDFILE']
7uselib += ['AVCODEC']
8uselib += ['AVFORMAT']
9uselib += ['AVRESAMPLE']
10uselib += ['AVUTIL']
11uselib += ['JACK']
12uselib += ['BLAS']
13
14utils_source = ['utils.c', 'jackio.c']
15programs_source = ctx.path.ant_glob('*.c', excl = utils_source)
16
17# build examples
18bld(features = 'c',
19        source = utils_source,
20        includes = ['../src'],
21        uselib = uselib,
22        target = 'utilsio')
23
24# loop over all *.c filenames in examples to build them all
25for source_file in programs_source:
26    bld(features = 'c cprogram',
27            includes = '../src',
28            lib = 'm',
29            use = ['aubio', 'utilsio'],
30            uselib = uselib,
31            source = source_file,
32            target = str(source_file).split('.')[0]
33            )
Note: See TracBrowser for help on using the repository browser.