[gtk+] Update Demos Visual Studio Projects



commit cb867d88bb97c76b7c572aa7ffdfa8cc75792f9e
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Thu Sep 26 19:50:56 2013 +0800

    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 4992d5e..a52ebbd 100644
--- a/build/win32/vs10/gtk3-demo-application.vcxproj
+++ b/build/win32/vs10/gtk3-demo-application.vcxproj
@@ -27,7 +27,7 @@
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
     <CharacterSet>MultiByte</CharacterSet>
-    <WholeProgramOptimization>false</WholeProgramOptimization>
+    <WholeProgramOptimization>true</WholeProgramOptimization>
     <PlatformToolset>v100</PlatformToolset>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
@@ -38,7 +38,7 @@
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
     <CharacterSet>MultiByte</CharacterSet>
-    <WholeProgramOptimization>false</WholeProgramOptimization>
+    <WholeProgramOptimization>true</WholeProgramOptimization>
     <PlatformToolset>v100</PlatformToolset>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
@@ -105,7 +105,7 @@
     <Link>
       <GenerateDebugInformation>true</GenerateDebugInformation>
       <SubSystem>Console</SubSystem>
-      <OptimizeReferences>true</OptimizeReferences>
+      <OptimizeReferences>false</OptimizeReferences>
       <EnableCOMDATFolding>true</EnableCOMDATFolding>
       <TargetMachine>MachineX86</TargetMachine>
     </Link>
@@ -149,7 +149,7 @@
     <Link>
       <GenerateDebugInformation>true</GenerateDebugInformation>
       <SubSystem>Console</SubSystem>
-      <OptimizeReferences>true</OptimizeReferences>
+      <OptimizeReferences>false</OptimizeReferences>
       <EnableCOMDATFolding>true</EnableCOMDATFolding>
       <TargetMachine>MachineX64</TargetMachine>
     </Link>
diff --git a/build/win32/vs10/gtk3-demo.vcxproj b/build/win32/vs10/gtk3-demo.vcxproj
index 1f50467..8c7fe47 100644
--- a/build/win32/vs10/gtk3-demo.vcxproj
+++ b/build/win32/vs10/gtk3-demo.vcxproj
@@ -27,7 +27,7 @@
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
     <CharacterSet>MultiByte</CharacterSet>
-    <WholeProgramOptimization>false</WholeProgramOptimization>
+    <WholeProgramOptimization>true</WholeProgramOptimization>
     <PlatformToolset>v100</PlatformToolset>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
@@ -38,7 +38,7 @@
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
     <CharacterSet>MultiByte</CharacterSet>
-    <WholeProgramOptimization>false</WholeProgramOptimization>
+    <WholeProgramOptimization>true</WholeProgramOptimization>
     <PlatformToolset>v100</PlatformToolset>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
@@ -136,7 +136,7 @@
       <GenerateDebugInformation>true</GenerateDebugInformation>
       <SubSystem>Console</SubSystem>
       <FunctionLevelLinking>false</FunctionLevelLinking>
-      <OptimizeReferences>true</OptimizeReferences>
+      <OptimizeReferences>false</OptimizeReferences>
       <EnableCOMDATFolding>true</EnableCOMDATFolding>
       <RandomizedBaseAddress>false</RandomizedBaseAddress>
       <DataExecutionPrevention>
@@ -160,7 +160,7 @@
       <GenerateDebugInformation>true</GenerateDebugInformation>
       <SubSystem>Console</SubSystem>
       <FunctionLevelLinking>false</FunctionLevelLinking>
-      <OptimizeReferences>true</OptimizeReferences>
+      <OptimizeReferences>false</OptimizeReferences>
       <EnableCOMDATFolding>true</EnableCOMDATFolding>
       <RandomizedBaseAddress>false</RandomizedBaseAddress>
       <DataExecutionPrevention>
diff --git a/build/win32/vs9/gtk3-demo-application.vcproj b/build/win32/vs9/gtk3-demo-application.vcproj
index 84254b8..4bcddf9 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"
                        >
                        <Tool
                                Name="VCPreBuildEventTool"
@@ -73,7 +73,7 @@
                                LinkIncremental="1"
                                GenerateDebugInformation="true"
                                SubSystem="1"
-                               OptimizeReferences="2"
+                               OptimizeReferences="1"
                                EnableCOMDATFolding="2"
                                TargetMachine="1"
                        />
@@ -112,7 +112,7 @@
                        InheritedPropertySheets=".\gtk-build-defines.vsprops"
                        ConfigurationType="1"
                        CharacterSet="2"
-                       WholeProgramOptimization="0"
+                       WholeProgramOptimization="1"
                        >
                        <Tool
                                Name="VCMIDLTool"
@@ -134,7 +134,7 @@
                                LinkIncremental="1"
                                GenerateDebugInformation="true"
                                SubSystem="1"
-                               OptimizeReferences="2"
+                               OptimizeReferences="1"
                                EnableCOMDATFolding="2"
                                TargetMachine="17"
                        />
diff --git a/build/win32/vs9/gtk3-demo.vcproj b/build/win32/vs9/gtk3-demo.vcproj
index 3542092..b4bfd01 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"
                        >
                        <Tool
                                Name="VCPreBuildEventTool"
@@ -111,7 +111,7 @@
                                LinkIncremental="1"
                                GenerateDebugInformation="true"
                                SubSystem="1"
-                               OptimizeReferences="2"
+                               OptimizeReferences="1"
                                EnableCOMDATFolding="2"
                                RandomizedBaseAddress="1"
                                DataExecutionPrevention="0"
@@ -123,7 +123,7 @@
                        ConfigurationType="1"
                        InheritedPropertySheets=".\gtk-build-defines.vsprops"
                        CharacterSet="2"
-                       WholeProgramOptimization="0"
+                       WholeProgramOptimization="1"
                        >
                        <Tool
                                Name="VCPreBuildEventTool"
@@ -144,7 +144,7 @@
                                LinkIncremental="1"
                                GenerateDebugInformation="true"
                                SubSystem="1"
-                               OptimizeReferences="2"
+                               OptimizeReferences="1"
                                EnableCOMDATFolding="2"
                                RandomizedBaseAddress="1"
                                DataExecutionPrevention="0"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]