Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to download v143 toolset? #97

Open
DmitriGoloubentsev opened this issue Dec 9, 2023 · 1 comment
Open

How to download v143 toolset? #97

DmitriGoloubentsev opened this issue Dec 9, 2023 · 1 comment

Comments

@DmitriGoloubentsev
Copy link

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!

@mstorsjo
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants