mstorsjo/msvc-wine

How to download v143 toolset?

DmitriGoloubentsev opened this issue · 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!

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.