diff options
author | 2011-06-03 15:48:17 +0000 | |
---|---|---|
committer | 2011-06-03 15:48:17 +0000 | |
commit | 55bfd45d9a1a8266c7ed0f9eeedffe714123718e (patch) | |
tree | e151bbb4b37d18cf39990869e3a510464f74f0c6 | |
parent | 76b82742421dc29c69badfb21974f836f8e47b3b (diff) |
Turn off optimization on VC debug builds.
http://codereview.appspot.com/4568052/
git-svn-id: http://skia.googlecode.com/svn/trunk@1488 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r-- | gyp/target_defaults.gypi | 9 |
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': { |