scons: Disable more MSVC pedantic security warnings.
This commit is contained in:
parent
f8bee0e412
commit
1acd891ed3
|
@ -263,7 +263,10 @@ def generate(env):
|
|||
if msvc and env['toolchain'] != 'winddk':
|
||||
cppdefines += [
|
||||
'VC_EXTRALEAN',
|
||||
'_CRT_SECURE_NO_WARNINGS',
|
||||
'_CRT_SECURE_NO_DEPRECATE',
|
||||
'_SCL_SECURE_NO_WARNINGS',
|
||||
'_SCL_SECURE_NO_DEPRECATE',
|
||||
]
|
||||
if debug:
|
||||
cppdefines += ['_DEBUG']
|
||||
|
|
Loading…
Reference in New Issue