1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2025-01-19 08:52:34 +01:00

Add /Zo flag to msvc debug builds.

http://msdn.microsoft.com/en-us/library/dn785163.aspx
This commit is contained in:
Nicholas Hastings 2014-12-14 15:00:09 -05:00
parent 42a918c82c
commit 62961002b7

View File

@ -190,7 +190,7 @@ class MMSConfig(object):
if cxx.behavior == 'gcc':
cfg.cflags += ['-g3']
elif cxx.behavior == 'msvc':
cfg.cflags += ['/Od', '/RTC1']
cfg.cflags += ['/Od', '/Zo', '/RTC1']
# This needs to be after our optimization flags which could otherwise disable it.
if cxx.name == 'msvc':