From: Paul Brossier Date: Sat, 23 Apr 2016 18:02:27 +0000 (+0200) Subject: tests/wscript_build: no -g for msvc X-Git-Tag: 0.4.4~300^2~236 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=d0cb3d8ab93b8842b13c771b9aded6d6529eb8eb;p=aubio.git tests/wscript_build: no -g for msvc --- diff --git a/tests/wscript_build b/tests/wscript_build index 28ed3e3a..1d081824 100644 --- a/tests/wscript_build +++ b/tests/wscript_build @@ -1,6 +1,7 @@ # vim:set syntax=python: lib = 'm' if 'CL.exe' not in ctx.env.CC[0] else None +cflags = ['-g'] if 'CL.exe' not in ctx.env.CC[0] else None uselib = [] uselib += ['FFTW3', 'FFTW3F'] @@ -25,5 +26,5 @@ for target_name in ctx.path.ant_glob('src/**/*.c'): includes = includes, install_path = None, defines = 'AUBIO_UNSTABLE_API=1', - cflags = ['-g'], + cflags = cflags, use = 'aubio')