msvc-wine icon indicating copy to clipboard operation
msvc-wine copied to clipboard

How to download v143 toolset?

Open DmitriGoloubentsev opened this issue 1 year ago • 1 comments

Hi,

great project! Would love to be able to use it on my build server.

How do I download v143 MSVC tools set?

As far I can see if I use --major 17 it downloads v142. I checked with MSVC_TOOLSET_VERSION in cmake

I can see --msvc-version option, but not sure how to use it to get v143.

Thank you!

DmitriGoloubentsev avatar Dec 09 '23 16:12 DmitriGoloubentsev

As far I can see if I use --major 17 it downloads v142. I checked with MSVC_TOOLSET_VERSION in cmake

According to https://cmake.org/cmake/help/latest/variable/MSVC_TOOLSET_VERSION.html, v142 is MSVC 2019 while v143 is MSVC 2022.

I tested message("MSVC_TOOLSET_VERSION ${MSVC_TOOLSET_VERSION}") in a CMakeLists.txt, and it does print MSVC_TOOLSET_VERSION 143 when I'm using the latest version of MSVC 2022 installed. If you're getting 142, it sounds like you have a too old version of CMake that doesn't recognize 143.

mstorsjo avatar Dec 10 '23 22:12 mstorsjo