mirror of
https://github.com/PCSX2/pcsx2.git
synced 2025-12-16 04:08:48 +00:00
Disable LTCG on wxCore, wxAdv, zlib, libjpeg, and the x86Emitter. Slices Release mode build times by more than half and shaves 200K- off the .exe size. (I really should have done this sooner)
DEV NOTE: Please leave LTCG enabled on wxBase, since wxString/wxObject and other wx-based containers benefit from it considerably. git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3172 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
34d6384d55
commit
5b80fc6c68
3
3rdparty/libjpeg/libjpeg.vcproj
vendored
3
3rdparty/libjpeg/libjpeg.vcproj
vendored
@ -80,7 +80,7 @@
|
|||||||
ConfigurationType="4"
|
ConfigurationType="4"
|
||||||
InheritedPropertySheets="..\DefaultProjectRootDir.vsprops;..\3rdparty.vsprops;..\..\common\vsprops\CodeGen_Release.vsprops"
|
InheritedPropertySheets="..\DefaultProjectRootDir.vsprops;..\3rdparty.vsprops;..\..\common\vsprops\CodeGen_Release.vsprops"
|
||||||
CharacterSet="1"
|
CharacterSet="1"
|
||||||
WholeProgramOptimization="1"
|
WholeProgramOptimization="0"
|
||||||
>
|
>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPreBuildEventTool"
|
Name="VCPreBuildEventTool"
|
||||||
@ -102,6 +102,7 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
|
WholeProgramOptimization="false"
|
||||||
UsePrecompiledHeader="0"
|
UsePrecompiledHeader="0"
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
|
|||||||
@ -152,6 +152,7 @@
|
|||||||
InheritedPropertySheets=".\ProjectRootDir.vsprops;..\..\..\3rdpartyDLL.vsprops;..\..\..\..\common\vsprops\CodeGen_Release.vsprops"
|
InheritedPropertySheets=".\ProjectRootDir.vsprops;..\..\..\3rdpartyDLL.vsprops;..\..\..\..\common\vsprops\CodeGen_Release.vsprops"
|
||||||
UseOfMFC="0"
|
UseOfMFC="0"
|
||||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||||
|
WholeProgramOptimization="1"
|
||||||
>
|
>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPreBuildEventTool"
|
Name="VCPreBuildEventTool"
|
||||||
|
|||||||
@ -5,6 +5,7 @@
|
|||||||
Name="wxAdv28"
|
Name="wxAdv28"
|
||||||
ProjectGUID="{0E231FB1-F3C9-4724-ACCB-DE8BCB3C089E}"
|
ProjectGUID="{0E231FB1-F3C9-4724-ACCB-DE8BCB3C089E}"
|
||||||
RootNamespace="wxAdvanced"
|
RootNamespace="wxAdvanced"
|
||||||
|
TargetFrameworkVersion="0"
|
||||||
>
|
>
|
||||||
<Platforms>
|
<Platforms>
|
||||||
<Platform
|
<Platform
|
||||||
@ -86,7 +87,7 @@
|
|||||||
UseOfMFC="0"
|
UseOfMFC="0"
|
||||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||||
CharacterSet="1"
|
CharacterSet="1"
|
||||||
WholeProgramOptimization="1"
|
WholeProgramOptimization="0"
|
||||||
>
|
>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPreBuildEventTool"
|
Name="VCPreBuildEventTool"
|
||||||
@ -105,6 +106,7 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
|
WholeProgramOptimization="false"
|
||||||
AdditionalIncludeDirectories=""$(ProjectRootDir)\include";"$(ProjectRootDir)\include\msvc";"$(SvnRootDir)\3rdparty\zlib""
|
AdditionalIncludeDirectories=""$(ProjectRootDir)\include";"$(ProjectRootDir)\include\msvc";"$(SvnRootDir)\3rdparty\zlib""
|
||||||
PreprocessorDefinitions="wxUSE_BASE=0;wxUSE_GUI=1"
|
PreprocessorDefinitions="wxUSE_BASE=0;wxUSE_GUI=1"
|
||||||
UsePrecompiledHeader="2"
|
UsePrecompiledHeader="2"
|
||||||
@ -385,11 +387,11 @@
|
|||||||
Name="Setup Headers"
|
Name="Setup Headers"
|
||||||
>
|
>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\..\include\wx\msw\setup.h"
|
RelativePath="..\..\include\wx\univ\setup.h"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\..\include\wx\univ\setup.h"
|
RelativePath="..\..\include\wx\msw\setup.h"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
</Filter>
|
</Filter>
|
||||||
|
|||||||
@ -84,7 +84,7 @@
|
|||||||
UseOfMFC="0"
|
UseOfMFC="0"
|
||||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||||
CharacterSet="1"
|
CharacterSet="1"
|
||||||
WholeProgramOptimization="1"
|
WholeProgramOptimization="0"
|
||||||
>
|
>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPreBuildEventTool"
|
Name="VCPreBuildEventTool"
|
||||||
@ -103,6 +103,7 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
|
WholeProgramOptimization="false"
|
||||||
AdditionalIncludeDirectories=""$(ProjectRootDir)\include";"$(ProjectRootDir)\include\msvc";"$(SvnRootDir)\3rdparty\zlib";"$(ProjectRootDir)\src\png";"$(SvnRootDir)\3rdparty\libjpeg""
|
AdditionalIncludeDirectories=""$(ProjectRootDir)\include";"$(ProjectRootDir)\include\msvc";"$(SvnRootDir)\3rdparty\zlib";"$(ProjectRootDir)\src\png";"$(SvnRootDir)\3rdparty\libjpeg""
|
||||||
PreprocessorDefinitions="wxUSE_BASE=0;wxUSE_GUI=1"
|
PreprocessorDefinitions="wxUSE_BASE=0;wxUSE_GUI=1"
|
||||||
UsePrecompiledHeader="2"
|
UsePrecompiledHeader="2"
|
||||||
|
|||||||
3
3rdparty/zlib/zlib.vcproj
vendored
3
3rdparty/zlib/zlib.vcproj
vendored
@ -75,7 +75,7 @@
|
|||||||
InheritedPropertySheets="..\DefaultProjectRootDir.vsprops;..\3rdparty.vsprops;..\..\common\vsprops\CodeGen_Release.vsprops"
|
InheritedPropertySheets="..\DefaultProjectRootDir.vsprops;..\3rdparty.vsprops;..\..\common\vsprops\CodeGen_Release.vsprops"
|
||||||
UseOfMFC="1"
|
UseOfMFC="1"
|
||||||
CharacterSet="2"
|
CharacterSet="2"
|
||||||
WholeProgramOptimization="1"
|
WholeProgramOptimization="0"
|
||||||
>
|
>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPreBuildEventTool"
|
Name="VCPreBuildEventTool"
|
||||||
@ -94,6 +94,7 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
|
WholeProgramOptimization="false"
|
||||||
PreprocessorDefinitions="_CRT_NONSTDC_NO_WARNINGS"
|
PreprocessorDefinitions="_CRT_NONSTDC_NO_WARNINGS"
|
||||||
WarningLevel="3"
|
WarningLevel="3"
|
||||||
/>
|
/>
|
||||||
|
|||||||
@ -77,7 +77,7 @@
|
|||||||
ConfigurationType="4"
|
ConfigurationType="4"
|
||||||
InheritedPropertySheets="..\..\vsprops\CommonLibrary.vsprops;..\..\vsprops\CodeGen_Release.vsprops;..\..\vsprops\pthreads.vsprops"
|
InheritedPropertySheets="..\..\vsprops\CommonLibrary.vsprops;..\..\vsprops\CodeGen_Release.vsprops;..\..\vsprops\pthreads.vsprops"
|
||||||
CharacterSet="1"
|
CharacterSet="1"
|
||||||
WholeProgramOptimization="1"
|
WholeProgramOptimization="0"
|
||||||
>
|
>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPreBuildEventTool"
|
Name="VCPreBuildEventTool"
|
||||||
@ -98,6 +98,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
EnableIntrinsicFunctions="true"
|
EnableIntrinsicFunctions="true"
|
||||||
|
WholeProgramOptimization="false"
|
||||||
PreprocessorDefinitions="WIN32;NDEBUG;_LIB"
|
PreprocessorDefinitions="WIN32;NDEBUG;_LIB"
|
||||||
UsePrecompiledHeader="2"
|
UsePrecompiledHeader="2"
|
||||||
PrecompiledHeaderThrough="PrecompiledHeader.h"
|
PrecompiledHeaderThrough="PrecompiledHeader.h"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user