Change /d2Zi+ flag on msvc builds to /Zo.

http://msdn.microsoft.com/en-us/library/dn785163.aspx
This commit is contained in:
Nicholas Hastings 2014-12-14 14:59:16 -05:00
parent bab1110bc0
commit 03abafce3d

View File

@ -256,9 +256,7 @@ class SMConfig(object):
if builder.options.debug == '1':
cxx.defines += ['DEBUG', '_DEBUG']
if cxx.like('msvc'):
cxx.cflags += ['/Od', '/RTC1']
if cxx.version >= 1600:
cxx.cflags += ['/d2Zi+']
cxx.cflags += ['/Od', '/Zo', '/RTC1']
# This needs to be after our optimization flags which could otherwise disable it.
if cxx.vendor == 'msvc':