VS: WindowsStore support broken in VS 17.8
The Msbuild/Microsoft/VC/v170/Microsoft.Cpp.AppContainerApplication.props
file contains:
<ForcedUsingFiles>$(VCToolsInstallDir)lib\x86\store\references\platform.winmd;%(ForcedUsingFiles)</ForcedUsingFiles>
but the MSVC 14.38 toolset no longer supports the -FU
flag, leading to
... /FU"C:\\...\\VC\\Tools\\MSVC\\14.38.33130\\lib\\x86\\store\\references\\platform.winmd" ...
... error C1007: unrecognized flag '-FU' in 'c1' ...
when running CMake with
-G "Visual Studio 17 2022" -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION=10.0
Cc: @halx99
See: https://github.com/axmolengine/axmol/issues/1437