source: tests/wscript_build @ db86a46

feature/autosinkfeature/constantqfeature/pitchshiftfeature/pydocstringsfeature/timestretchpitchshiftsamplertimestretchyinfft+
Last change on this file since db86a46 was db86a46, checked in by Paul Brossier <piem@piem.org>, 6 years ago

{examples,tests}/wscript_build: add external libs

  • Property mode set to 100644
File size: 729 bytes
Line 
1# vim:set syntax=python:
2
3for target_name in ctx.path.ant_glob('src/**/*.c'):
4    uselib = []
5    uselib += ['FFTW3', 'FFTW3F']
6    uselib += ['SAMPLERATE']
7    uselib += ['SNDFILE']
8    uselib += ['AVCODEC']
9    uselib += ['AVFORMAT']
10    uselib += ['AVRESAMPLE']
11    uselib += ['AVUTIL']
12    uselib += ['JACK']
13    includes = ['../src', '.']
14    extra_source = []
15
16    bld(features = 'c cprogram test',
17            lib = 'm',
18            uselib = uselib,
19            source = [target_name] + extra_source,
20            target = str(target_name).split('.')[0],
21            includes = includes,
22            install_path = None,
23            defines = 'AUBIO_UNSTABLE_API=1',
24            cflags = ['-g'],
25            use = 'aubio')
Note: See TracBrowser for help on using the repository browser.