Disable link-time code generation for MSVC Debug builds

Every time I do a debug build, I get a warning message from the linker
telling me that /LTCG is doing nothing and that removing it from the
options will speed up the linking process.

(I believe this is due to LTCG being incompatible with incremental
linking; and AFAIK incremental linking is enabled in debug builds by
default.)
This commit is contained in:
Justin Gottula 2018-01-21 14:22:23 -08:00 committed by Richard Jenkins
parent 1f5140ae94
commit d93a07a58d
1 changed files with 0 additions and 1 deletions

View File

@ -73,7 +73,6 @@
</ClCompile>
<Link>
<GenerateDebugInformation>true</GenerateDebugInformation>
<LinkTimeCodeGeneration>UseFastLinkTimeCodeGeneration</LinkTimeCodeGeneration>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)'=='Release'">