source: tests/wscript_build @ d0cb3d8

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

tests/wscript_build: no -g for msvc

  • Property mode set to 100644
File size: 822 bytes
Line 
1# vim:set syntax=python:
2
3lib = 'm' if 'CL.exe' not in ctx.env.CC[0] else None
4cflags = ['-g'] if 'CL.exe' not in ctx.env.CC[0] else None
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
19for target_name in ctx.path.ant_glob('src/**/*.c'):
20    extra_source = []
21    bld(features = 'c cprogram test',
22            lib = lib,
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',
29            cflags = cflags,
30            use = 'aubio')
Note: See TracBrowser for help on using the repository browser.