Change /d2Zi+ flag on msvc builds to /Zo.
http://msdn.microsoft.com/en-us/library/dn785163.aspx
This commit is contained in:
parent
bab1110bc0
commit
03abafce3d
@ -256,9 +256,7 @@ class SMConfig(object):
|
|||||||
if builder.options.debug == '1':
|
if builder.options.debug == '1':
|
||||||
cxx.defines += ['DEBUG', '_DEBUG']
|
cxx.defines += ['DEBUG', '_DEBUG']
|
||||||
if cxx.like('msvc'):
|
if cxx.like('msvc'):
|
||||||
cxx.cflags += ['/Od', '/RTC1']
|
cxx.cflags += ['/Od', '/Zo', '/RTC1']
|
||||||
if cxx.version >= 1600:
|
|
||||||
cxx.cflags += ['/d2Zi+']
|
|
||||||
|
|
||||||
# This needs to be after our optimization flags which could otherwise disable it.
|
# This needs to be after our optimization flags which could otherwise disable it.
|
||||||
if cxx.vendor == 'msvc':
|
if cxx.vendor == 'msvc':
|
||||||
|
Loading…
Reference in New Issue
Block a user