summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony <antony.jones@comcast.net>2015-05-09 15:46:59 -0600
committerAntony <antony.jones@comcast.net>2015-05-09 15:46:59 -0600
commit9e14f971bc7e6d364d89a34f28e7c0c2017d16f5 (patch)
treebd5b2fdf4d93eb18296026eb9efd46c1a96ac825
parente090c06ae27f737239ae7cf6f8c56747b47506bd (diff)
Change windows build to use CFlag /Od so that you get the full debug experience. Without this flag set, Visual Studio lets you use breakpoints, but the watch and locals is pretty much useless.
-rw-r--r--platform/windows/detect.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/windows/detect.py b/platform/windows/detect.py
index 9cdf04797c..298fa3bc78 100644
--- a/platform/windows/detect.py
+++ b/platform/windows/detect.py
@@ -204,7 +204,7 @@ def configure(env):
elif (env["target"]=="debug"):
- env.Append(CCFLAGS=['/Zi','/DDEBUG_ENABLED','/DDEBUG_MEMORY_ENABLED','/DD3D_DEBUG_INFO','/O1'])
+ env.Append(CCFLAGS=['/Zi','/DDEBUG_ENABLED','/DDEBUG_MEMORY_ENABLED','/DD3D_DEBUG_INFO','/Od'])
env.Append(LINKFLAGS=['/SUBSYSTEM:CONSOLE'])
env.Append(LINKFLAGS=['/DEBUG'])