source: tests/wscript_build @ 6d7d52c

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

src/wscript_build: only no -lm if compiler is CL.exe

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