commit | b3e06c076714eeae1d3d28cc3a04d0a70d05887d | [log] [tgz] |
---|---|---|
author | scottmg@chromium.org <scottmg@chromium.org@78cadc50-ecff-11dd-a971-7dbc132099af> | Mon Aug 19 22:22:02 2013 +0000 |
committer | scottmg@chromium.org <scottmg@chromium.org@78cadc50-ecff-11dd-a971-7dbc132099af> | Mon Aug 19 22:22:02 2013 +0000 |
tree | 107752d81c7c9c5f9e864647f2f74c96a3ce3746 | |
parent | a4137f8aee80930b8f5c003b016e934158b1923d [diff] |
ninja/win: Set /O2 compiler flag by default if no 'Optimization' specified Follows behavior when using MSVS generators. If target ends up with no 'Optimization' option specified, MSVS generator will not add <Optimization> element in the <ClCompile> parent. Visual Studio will still set /O2 compile flag though. Tested only in VS2012 Express. BUG=https://code.google.com/p/gyp/issues/detail?id=361 R=scottmg@chromium.org Review URL: https://codereview.chromium.org/23253003 git-svn-id: http://gyp.googlecode.com/svn/trunk@1697 78cadc50-ecff-11dd-a971-7dbc132099af