xwin icon indicating copy to clipboard operation
xwin copied to clipboard

[Feature request]Supporting /winsysroot in clang-cl?

Open Naville opened this issue 2 years ago • 2 comments

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

Naville avatar Jun 20 '22 11:06 Naville

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.

Jake-Shadle avatar Jun 20 '22 12:06 Jake-Shadle

Isn't the SDK version already included as of #47? Not the VC version, though.

Qyriad avatar Jun 20 '22 16:06 Qyriad