Change default optimisations for Windows release builds to favour code size. Saves almost 800 KB on the final binary in my builds.

Originally committed to SVN as r4378.
This commit is contained in:
Niels Martin Hansen 2010-05-31 23:49:21 +00:00
parent edb33d8771
commit 7eb1717b7d
2 changed files with 3 additions and 0 deletions

View File

@ -6,7 +6,9 @@
>
<Tool
Name="VCCLCompilerTool"
Optimization="1"
EnableIntrinsicFunctions="true"
FavorSizeOrSpeed="2"
RuntimeLibrary="2"
OpenMP="true"
WarningLevel="3"

View File

@ -9,6 +9,7 @@
Optimization="0"
InlineFunctionExpansion="0"
EnableIntrinsicFunctions="false"
FavorSizeOrSpeed="0"
WholeProgramOptimization="false"
PreprocessorDefinitions="DEBUG;_DEBUG"
BasicRuntimeChecks="3"