mirror of
https://github.com/alliedmodders/sourcemod.git
synced 2025-12-06 18:08:36 +00:00
Record inline function debug info in PDB files (r=asherkin).
This commit is contained in:
parent
6c658b4f8e
commit
406b72e0a6
@ -223,6 +223,8 @@ class SMConfig(object):
|
|||||||
cfg.defines += ['DEBUG', '_DEBUG']
|
cfg.defines += ['DEBUG', '_DEBUG']
|
||||||
if cxx.behavior == 'msvc':
|
if cxx.behavior == 'msvc':
|
||||||
cfg.cflags += ['/Od', '/RTC1']
|
cfg.cflags += ['/Od', '/RTC1']
|
||||||
|
if int(cxx.version) >= 1600:
|
||||||
|
cfg.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.name == 'msvc':
|
if cxx.name == 'msvc':
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user