windows: Fix incremental linking property sheet

Don't use "-dbg" target suffix - both Devel and Debug builds use the
property sheet, so it's incorrect.

Also don't set optimise references to false - it's incompatible with
incremental linking and causes compile failures.
This commit is contained in:
Jonathan Li 2016-06-07 19:00:15 +01:00
parent 5a17b95901
commit 7277074d9e
1 changed files with 1 additions and 4 deletions

View File

@ -1,9 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<_ProjectFileVersion>10.0.30128.1</_ProjectFileVersion>
<LinkIncremental>true</LinkIncremental>
<TargetName>$(ProjectName)-dbg</TargetName>
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
@ -14,8 +12,7 @@
<MultiProcessorCompilation>false</MultiProcessorCompilation>
</ClCompile>
<Link>
<OptimizeReferences>false</OptimizeReferences>
<EnableCOMDATFolding>false</EnableCOMDATFolding>
</Link>
</ItemDefinitionGroup>
</Project>
</Project>