未验证 提交 88a8d509 编写于 作者: V Vatsan Madhavan 提交者: GitHub

Revert "Set debug and optimization settings in targets so that it supersedes...

Revert "Set debug and optimization settings in targets so that it supersedes settings set by props files" (#2534)

This reverts commit c22c04640b325af24b392a13fb8bf3b7f91baf73.
上级 77064b7b
......@@ -57,6 +57,20 @@
<TargetFrameworkSDKToolsDirectory Condition="'$(Platform)' == 'x64'">$(TargetFrameworkSDKToolsDirectory)$(Platform)\</TargetFrameworkSDKToolsDirectory>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration">
<UseDebugLibraries>true</UseDebugLibraries>
<LinkIncremental>true</LinkIncremental>
<LinkIncremental Condition="'$(ManagedCxx)'=='true'">false</LinkIncremental>
<LinkTimeCodeGeneration>Default</LinkTimeCodeGeneration>
<WholeProgramOptimization>false</WholeProgramOptimization>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration">
<UseDebugLibraries>false</UseDebugLibraries>
<WholeProgramOptimization>true</WholeProgramOptimization>
<LinkIncremental>false</LinkIncremental>
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
</PropertyGroup>
<PropertyGroup Condition="'$(ManagedCxx)'=='true'">
<!-- Works around a bug in the C++ compiler where we get the error
'System::ReadOnlySpan::default': could not import member. -->
......
......@@ -5,20 +5,6 @@
<NativeResourceFileWithVersionInformation Condition="'$(NativeResourceFileWithVersionInformation)' == ''">$(IntermediateOutputPath)ExtendedNativeVersion.rc</NativeResourceFileWithVersionInformation>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration">
<UseDebugLibraries>true</UseDebugLibraries>
<LinkIncremental>true</LinkIncremental>
<LinkIncremental Condition="'$(ManagedCxx)'=='true'">false</LinkIncremental>
<LinkTimeCodeGeneration>Default</LinkTimeCodeGeneration>
<WholeProgramOptimization>false</WholeProgramOptimization>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration">
<UseDebugLibraries>false</UseDebugLibraries>
<WholeProgramOptimization>true</WholeProgramOptimization>
<LinkIncremental>false</LinkIncremental>
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
</PropertyGroup>
<Import Project="Wpf.Cpp.PrivateTools.targets" Condition="Exists('Wpf.Cpp.PrivateTools.targets') And '$(UsePrivateCppTools)'=='true'"/>
<ItemDefinitionGroup>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册