gobject: Further optimize MSVC builds

Use /ltcg (link time code generation) for linking as well.

In fact, whole program optimization and /ltcg are the default for Release
builds, so we don't really have to set them explicitly in the projects, so
as a result, we can clean up the projects a little bit.

https://bugzilla.gnome.org/show_bug.cgi?id=752837
This commit is contained in:
Chun-wei Fan
2015-10-12 16:49:53 +08:00
parent 670400ee33
commit b7e2973048
2 changed files with 0 additions and 10 deletions

View File

@@ -58,7 +58,6 @@
>
<Tool
Name="VCCLCompilerTool"
WholeProgramOptimization="true"
PreprocessorDefinitions="$(GObjectBuildDefines)"
RuntimeLibrary="2"
UsePrecompiledHeader="0"
@@ -74,7 +73,6 @@
SubSystem="2"
OptimizeReferences="2"
EnableCOMDATFolding="2"
LinkTimeCodeGeneration="0"
RandomizedBaseAddress="1"
DataExecutionPrevention="0"
ImportLibrary="$(TargetDir)$(ProjectName)-$(ApiVersion).lib"
@@ -120,7 +118,6 @@
>
<Tool
Name="VCCLCompilerTool"
WholeProgramOptimization="true"
PreprocessorDefinitions="$(GObjectBuildDefines)"
RuntimeLibrary="2"
UsePrecompiledHeader="0"
@@ -136,7 +133,6 @@
SubSystem="2"
OptimizeReferences="2"
EnableCOMDATFolding="2"
LinkTimeCodeGeneration="0"
RandomizedBaseAddress="1"
DataExecutionPrevention="0"
ImportLibrary="$(TargetDir)$(ProjectName)-$(ApiVersion).lib"