aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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': {