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/libmodplug | |
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/libmodplug')
-rw-r--r-- | lib/libmodplug/libmodplug_2010.vcxproj | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libmodplug/libmodplug_2010.vcxproj b/lib/libmodplug/libmodplug_2010.vcxproj index 8b89f68234..ed356d5bfc 100644 --- a/lib/libmodplug/libmodplug_2010.vcxproj +++ b/lib/libmodplug/libmodplug_2010.vcxproj @@ -72,7 +72,7 @@ </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> <ClCompile> - <Optimization>MaxSpeed</Optimization> + <Optimization>Full</Optimization> <IntrinsicFunctions>true</IntrinsicFunctions> <AdditionalIncludeDirectories>%(RootDir)%(Directory)\libmodplug;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> <PreprocessorDefinitions>WIN32;NDEBUG;_LIB;MSC_VER;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions> @@ -82,10 +82,14 @@ <WarningLevel>Level3</WarningLevel> <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> <EnableEnhancedInstructionSet>StreamingSIMDExtensions2</EnableEnhancedInstructionSet> + <InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion> + <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed> </ClCompile> <Link> <OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile> <ModuleDefinitionFile>libmodplug.def</ModuleDefinitionFile> + <OptimizeReferences>true</OptimizeReferences> + <EnableCOMDATFolding>true</EnableCOMDATFolding> </Link> <PostBuildEvent> <Command>copy "$(TargetPath)" "$(SolutionDir)..\..\system\players\paplayer\$(TargetFileName)"</Command> |