fix(cpp): add missing ARM64 PCH create/use overrides in RDPWrap.vcxproj

stdafx.cpp had PrecompiledHeader=Create for Debug|Win32, Debug|x64,
Release|Win32, Release|x64 but not Release|ARM64. MSBuild fell through
to the ItemDefinitionGroup default of Use, tried to open a PCH that
was never generated, and all four TUs failed with C1083.

dllmain.cpp also lacked the empty-PrecompiledHeader override for
Release|ARM64 (disabling PCH for that TU), inconsistent with the
other three platforms where it deliberately does not use the PCH.
pull/4062/head
Simon Jackson 1 month ago
parent 433dcd5d55
commit a44e365958

@ -220,6 +220,9 @@
</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
</PrecompiledHeader>
<CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">false</CompileAsManaged>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
</PrecompiledHeader>
</ClCompile>
<ClCompile Include="IniFile.cpp" />
<ClCompile Include="RDPWrap.cpp" />
@ -228,6 +231,7 @@
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">Create</PrecompiledHeader>
</ClCompile>
</ItemGroup>
<ItemGroup>

Loading…
Cancel
Save