diff options
author | Karlson2k <k2k@narod.ru> | 2013-10-23 22:25:57 +0400 |
---|---|---|
committer | Karlson2k <k2k@narod.ru> | 2013-10-24 02:16:13 +0400 |
commit | bcc5650f9b1652bdd61add0e802bf3bd3fec9ff3 (patch) | |
tree | dc3ff3ebc3132e3c6b71f88d41d36b89d778e00d /lib/cximage-6.0/tiff | |
parent | 598171dc16c0e658eadca5d1151c41eef47ac9c2 (diff) |
[win32] Use more VC optimizations for important XBMC parts for 'Release' config
* Enable 'Full' code optimization
* Prefer speed over small size
* Allow any suitable inline function
* Enable Generate Intrinsic Functions
* Enable Function-Level Linking
* Enable 'Whole Program Optimization' for compiler, linker and lib task
* Explicitly enable linker optimization /OPT:REF and /OPT:ICF
Diffstat (limited to 'lib/cximage-6.0/tiff')
-rw-r--r-- | lib/cximage-6.0/tiff/Tiff.vcxproj | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/cximage-6.0/tiff/Tiff.vcxproj b/lib/cximage-6.0/tiff/Tiff.vcxproj index ee90453535..b96e674c6d 100644 --- a/lib/cximage-6.0/tiff/Tiff.vcxproj +++ b/lib/cximage-6.0/tiff/Tiff.vcxproj @@ -105,8 +105,8 @@ </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> <ClCompile> - <Optimization>MinSpace</Optimization> - <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion> + <Optimization>Full</Optimization> + <InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion> <AdditionalIncludeDirectories>..\zlib;..\zlib\win32;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> <PreprocessorDefinitions>WIN32;NDEBUG;_LIB;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions> <StringPooling>true</StringPooling> @@ -120,6 +120,9 @@ <SuppressStartupBanner>true</SuppressStartupBanner> <CompileAs>Default</CompileAs> <EnableEnhancedInstructionSet>StreamingSIMDExtensions2</EnableEnhancedInstructionSet> + <IntrinsicFunctions>true</IntrinsicFunctions> + <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed> + <WholeProgramOptimization>true</WholeProgramOptimization> </ClCompile> <ResourceCompile> <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> @@ -128,6 +131,7 @@ <Lib> <OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile> <SuppressStartupBanner>true</SuppressStartupBanner> + <LinkTimeCodeGeneration>true</LinkTimeCodeGeneration> </Lib> </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Unicode Release|Win32'"> |