source: tests/wscript_build @ bef979a

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

tests/wscript_build: no -g for msvc

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