Andarwinux wrote:

> > We don’t have to do anything in practice, 
> > [Xwin](https://github.com/Jake-Shadle/xwin) is already such a « script » 
> > and it already creates symlinks for all the casing issues and supports the 
> > /winsysroot layout if asked.
> 
> FWIW, 
> [http://github.com/mstorsjo/msvc-wine/](https://github.com/mstorsjo/msvc-wine/)
>  also provides a non-rust solution to the same, which also provides a 
> lowercased/symlink forest variant of includes/libraries.

It works really well. The only slight downside is that the case handling for 
WinRT headers is still a bit patchy, though that's not really a problem since 
we'll prefer the generated headers from cppwinrt, with WinSDK as a fallback. 
But sysroot is also more convenient for cppwinrt in this case, since we can 
just output cppwinrt to sysroot/include without having to manually add another 
search path. (The same applies to winsysroot, but the location of the winrt 
directory in winsysroot is obviously more complicated than sysroot/include.)

https://github.com/llvm/llvm-project/pull/96417
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to