From 5b80fc6c68a3932db7a3e0359993e9b1a6725698 Mon Sep 17 00:00:00 2001 From: "Jake.Stine" Date: Sat, 5 Jun 2010 15:41:40 +0000 Subject: [PATCH] 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 --- 3rdparty/libjpeg/libjpeg.vcproj | 3 ++- 3rdparty/portaudio/build/msvc/portaudio.vcproj | 1 + 3rdparty/wxWidgets/build/msw/wx_adv_2008.vcproj | 8 +++++--- 3rdparty/wxWidgets/build/msw/wx_core_2008.vcproj | 3 ++- 3rdparty/zlib/zlib.vcproj | 3 ++- common/build/x86emitter/x86emitter.vcproj | 3 ++- 6 files changed, 14 insertions(+), 7 deletions(-) diff --git a/3rdparty/libjpeg/libjpeg.vcproj b/3rdparty/libjpeg/libjpeg.vcproj index 50a8e7f3d5..8effd60b14 100644 --- a/3rdparty/libjpeg/libjpeg.vcproj +++ b/3rdparty/libjpeg/libjpeg.vcproj @@ -80,7 +80,7 @@ ConfigurationType="4" InheritedPropertySheets="..\DefaultProjectRootDir.vsprops;..\3rdparty.vsprops;..\..\common\vsprops\CodeGen_Release.vsprops" CharacterSet="1" - WholeProgramOptimization="1" + WholeProgramOptimization="0" > diff --git a/3rdparty/wxWidgets/build/msw/wx_core_2008.vcproj b/3rdparty/wxWidgets/build/msw/wx_core_2008.vcproj index 548ed6d967..54998ea7c6 100644 --- a/3rdparty/wxWidgets/build/msw/wx_core_2008.vcproj +++ b/3rdparty/wxWidgets/build/msw/wx_core_2008.vcproj @@ -84,7 +84,7 @@ UseOfMFC="0" ATLMinimizesCRunTimeLibraryUsage="false" CharacterSet="1" - WholeProgramOptimization="1" + WholeProgramOptimization="0" > diff --git a/common/build/x86emitter/x86emitter.vcproj b/common/build/x86emitter/x86emitter.vcproj index 8ffeef3f14..df3f89d807 100644 --- a/common/build/x86emitter/x86emitter.vcproj +++ b/common/build/x86emitter/x86emitter.vcproj @@ -77,7 +77,7 @@ ConfigurationType="4" InheritedPropertySheets="..\..\vsprops\CommonLibrary.vsprops;..\..\vsprops\CodeGen_Release.vsprops;..\..\vsprops\pthreads.vsprops" CharacterSet="1" - WholeProgramOptimization="1" + WholeProgramOptimization="0" >