aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-06-03 15:48:17 +0000
committerGravatar bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-06-03 15:48:17 +0000
commit55bfd45d9a1a8266c7ed0f9eeedffe714123718e (patch)
treee151bbb4b37d18cf39990869e3a510464f74f0c6
parent76b82742421dc29c69badfb21974f836f8e47b3b (diff)
Turn off optimization on VC debug builds.
-rw-r--r--gyp/target_defaults.gypi9
1 files changed, 8 insertions, 1 deletions
diff --git a/gyp/target_defaults.gypi b/gyp/target_defaults.gypi
index 5c512fb342..cb5436723f 100644
--- a/gyp/target_defaults.gypi
+++ b/gyp/target_defaults.gypi
@@ -9,7 +9,14 @@
'msvs_settings': {
'VCLinkerTool': {
'GenerateDebugInformation': 'true',
- },
+ },
+ 'VCCLCompilerTool': {
+ #0 Disabled (/Od)
+ #1 Minimize Size (/O1)
+ #2 Maximize Speed (/O2)
+ #3 Full Optimization (/Ox)
+ 'Optimization': '0',
+ },
},
},
'Release': {