projects
/
aubio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wscript: add /MD and /D_CRT_SECURE_NO_WARNINGS on windows
[aubio.git]
/
wscript
diff --git
a/wscript
b/wscript
index
677af27
..
e91ea27
100644
(file)
--- a/
wscript
+++ b/
wscript
@@
-119,7
+119,8
@@
def configure(ctx):
if ctx.env.CC_NAME != 'msvc':
ctx.env.CFLAGS += ['-g', '-Wall', '-Wextra']
else:
if ctx.env.CC_NAME != 'msvc':
ctx.env.CFLAGS += ['-g', '-Wall', '-Wextra']
else:
- ctx.env.CFLAGS += ['/W4']
+ ctx.env.CFLAGS += ['/W4', '/MD']
+ ctx.env.CFLAGS += ['/D_CRT_SECURE_NO_WARNINGS']
ctx.check_cc(lib='m', uselib_store='M', mandatory=False)
ctx.check_cc(lib='m', uselib_store='M', mandatory=False)