From ee2dc51d7a1d388e91d12d961be7dbf05a756b4c Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Thu, 26 Sep 2013 19:50:56 +0800 Subject: [PATCH] Update Demos Visual Studio Projects Improve optimization, by re-enabling WholeProgramOptimization but changing the linker optimization to not drop items that are not referenced in code (such as compiled gresource sources that are not directly referenced in code, as they are still needed for the demos to run properly). --- build/win32/vs10/gtk3-demo-application.vcxproj | 8 ++++---- build/win32/vs10/gtk3-demo.vcxproj | 8 ++++---- build/win32/vs9/gtk3-demo-application.vcproj | 8 ++++---- build/win32/vs9/gtk3-demo.vcproj | 8 ++++---- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/build/win32/vs10/gtk3-demo-application.vcxproj b/build/win32/vs10/gtk3-demo-application.vcxproj index 4992d5edbe..a52ebbdaf8 100644 --- a/build/win32/vs10/gtk3-demo-application.vcxproj +++ b/build/win32/vs10/gtk3-demo-application.vcxproj @@ -27,7 +27,7 @@ Application MultiByte - false + true v100 @@ -38,7 +38,7 @@ Application MultiByte - false + true v100 @@ -105,7 +105,7 @@ true Console - true + false true MachineX86 @@ -149,7 +149,7 @@ true Console - true + false true MachineX64 diff --git a/build/win32/vs10/gtk3-demo.vcxproj b/build/win32/vs10/gtk3-demo.vcxproj index 1f50467bcd..8c7fe477e7 100644 --- a/build/win32/vs10/gtk3-demo.vcxproj +++ b/build/win32/vs10/gtk3-demo.vcxproj @@ -27,7 +27,7 @@ Application MultiByte - false + true v100 @@ -38,7 +38,7 @@ Application MultiByte - false + true v100 @@ -136,7 +136,7 @@ true Console false - true + false true false @@ -160,7 +160,7 @@ true Console false - true + false true false diff --git a/build/win32/vs9/gtk3-demo-application.vcproj b/build/win32/vs9/gtk3-demo-application.vcproj index 84254b8ff8..4bcddf91b9 100644 --- a/build/win32/vs9/gtk3-demo-application.vcproj +++ b/build/win32/vs9/gtk3-demo-application.vcproj @@ -52,7 +52,7 @@ InheritedPropertySheets=".\gtk-build-defines.vsprops" ConfigurationType="1" CharacterSet="2" - WholeProgramOptimization="0" + WholeProgramOptimization="1" > @@ -112,7 +112,7 @@ InheritedPropertySheets=".\gtk-build-defines.vsprops" ConfigurationType="1" CharacterSet="2" - WholeProgramOptimization="0" + WholeProgramOptimization="1" > diff --git a/build/win32/vs9/gtk3-demo.vcproj b/build/win32/vs9/gtk3-demo.vcproj index 3542092ff0..b4bfd011dd 100644 --- a/build/win32/vs9/gtk3-demo.vcproj +++ b/build/win32/vs9/gtk3-demo.vcproj @@ -90,7 +90,7 @@ ConfigurationType="1" InheritedPropertySheets=".\gtk-build-defines.vsprops" CharacterSet="2" - WholeProgramOptimization="0" + WholeProgramOptimization="1" >