xwin
xwin copied to clipboard
[Feature request]Supporting /winsysroot in clang-cl?
Hi:
clang-cl
has this option called /winsysroot
, which simplifies the arguments if my understanding is correct, it's described below:
/winsysroot <dir> Same as /vctoolsdir <dir>/VC/Tools/MSVC/<vctoolsversion> /winsdkdir <dir>/Windows Kits/10
Can xwin layout it's directories in this format so one could just use /winsysroot
to setup everything? I'm not an Win expert so I could be very wrong here
It could, but that would require including the VC version and SDK version in the output paths, which is not done at the moment because xwin is only concerned with creating standalone directories with everything needed in them, rather than trying to support multiple different versions from the same root directory like the normal VS build tools install. Frankly, using 2 options instead of 1 doesn't seem that burdensome to me, so I have no interest in doing this work myself, but I'd accept a PR as long as it was reasonable.
Isn't the SDK version already included as of #47? Not the VC version, though.