Modify MSVC link incremental setting for deconfliction with LTCG flag.

This commit is contained in:
evoskuil 2014-04-04 01:15:51 -07:00
parent 2e802a467f
commit 2ad6469cb2
5 changed files with 3 additions and 4 deletions

View File

@ -7,7 +7,6 @@
<!-- RootNamespace is used to deconflict output files from differing project versions. -->
<IntDir>$(ProjectDir)..\..\..\..\obj\$(PlatformName)\$(Configuration)\$(RootNamespace)\</IntDir>
<OutDir>$(ProjectDir)..\..\..\..\bin\$(PlatformName)\Debug\$(RootNamespace)\</OutDir>
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup>

View File

@ -15,6 +15,7 @@
<ClCompile>
<!-- Linking CRT dynamically when building a dynamic library is conventional. -->
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<LinkIncremental>true</LinkIncremental>
</ClCompile>
</ItemDefinitionGroup>

View File

@ -9,9 +9,6 @@
<ItemDefinitionGroup>
<ClCompile>
<WholeProgramOptimization>true</WholeProgramOptimization>
<!-- This overrides Debug.props->LinkIncremental and therefore this reference must always be set after Debug.props is included. -->
<LinkIncremental>false</LinkIncremental>
</ClCompile>
<Link>
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>

View File

@ -15,6 +15,7 @@
<ClCompile>
<!-- Linking CRT statically when building a static library is conventional. -->
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<LinkIncremental>true</LinkIncremental>
</ClCompile>
</ItemDefinitionGroup>

View File

@ -15,6 +15,7 @@
<ClCompile>
<!-- Linking CRT statically when building a static library is conventional. -->
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<LinkIncremental>false</LinkIncremental>
</ClCompile>
</ItemDefinitionGroup>