[glib] gobject: MSVC builds-improve optimization a bit
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] gobject: MSVC builds-improve optimization a bit
- Date: Mon, 12 Oct 2015 07:08:08 +0000 (UTC)
commit 670400ee337f84c9938db84e3de8d4a82ba3ec62
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Mon Oct 12 15:05:23 2015 +0800
gobject: MSVC builds-improve optimization a bit
Use whole program optimization (/GL) as we now use DllMain() to
initialize the library on Windows builds.
https://bugzilla.gnome.org/show_bug.cgi?id=752837
build/win32/vs10/gobject.vcxprojin | 4 ++--
build/win32/vs9/gobject.vcprojin | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/build/win32/vs10/gobject.vcxprojin b/build/win32/vs10/gobject.vcxprojin
index a909f28..88d0834 100644
--- a/build/win32/vs10/gobject.vcxprojin
+++ b/build/win32/vs10/gobject.vcxprojin
@@ -99,7 +99,7 @@
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
- <WholeProgramOptimization>false</WholeProgramOptimization>
+ <WholeProgramOptimization>true</WholeProgramOptimization>
<PreprocessorDefinitions>$(GObjectBuildDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<PrecompiledHeader>
@@ -151,7 +151,7 @@
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
- <WholeProgramOptimization>false</WholeProgramOptimization>
+ <WholeProgramOptimization>true</WholeProgramOptimization>
<PreprocessorDefinitions>$(GObjectBuildDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<PrecompiledHeader>
diff --git a/build/win32/vs9/gobject.vcprojin b/build/win32/vs9/gobject.vcprojin
index 531e442..8c8ae41 100644
--- a/build/win32/vs9/gobject.vcprojin
+++ b/build/win32/vs9/gobject.vcprojin
@@ -58,7 +58,7 @@
>
<Tool
Name="VCCLCompilerTool"
- WholeProgramOptimization="false"
+ WholeProgramOptimization="true"
PreprocessorDefinitions="$(GObjectBuildDefines)"
RuntimeLibrary="2"
UsePrecompiledHeader="0"
@@ -120,7 +120,7 @@
>
<Tool
Name="VCCLCompilerTool"
- WholeProgramOptimization="false"
+ WholeProgramOptimization="true"
PreprocessorDefinitions="$(GObjectBuildDefines)"
RuntimeLibrary="2"
UsePrecompiledHeader="0"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]