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

[feature] Support new msvc versioning for VS2022 latest toolsets #15583

Open
1 task done
memsharded opened this issue Feb 2, 2024 · 4 comments · May be fixed by #15588
Open
1 task done

[feature] Support new msvc versioning for VS2022 latest toolsets #15583

memsharded opened this issue Feb 2, 2024 · 4 comments · May be fixed by #15588
Assignees
Milestone

Comments

@memsharded
Copy link
Member

memsharded commented Feb 2, 2024

What is your suggestion?

vs2017 -> platform toolset v141 -> msvc 19.1x
vs2019 -> platform toolset v142 -> msvc 19.2x
vs2022 -> platform toolset v143 -> msvc 19.3x
vs2022 , version 17.10 and higher -> platform toolset v143 -> msvc toolset 14.40 -> msvc 19.4x

From: https://devblogs.microsoft.com/cppblog/msvc-toolset-minor-version-number-14-40-in-vs-2022-v17-10/

Have you read the CONTRIBUTING guide?

  • I've read the CONTRIBUTING guide
@memsharded memsharded added this to the 2.1 milestone Feb 2, 2024
@memsharded memsharded linked a pull request Feb 2, 2024 that will close this issue
@memsharded memsharded self-assigned this Feb 2, 2024
@memsharded memsharded modified the milestones: 2.1, 2.2 Feb 7, 2024
@memsharded memsharded modified the milestones: 2.2.0, 2.3.0 Mar 15, 2024
@Nekto89
Copy link
Contributor

Nekto89 commented Mar 22, 2024

Do I understand correctly that currently conan doesn't support stabilization at vs2022 update 10 which is currently in Preview?

@memsharded
Copy link
Member Author

Not yet, #15588 intends to improve this, but honestly the versioning approach of Microsoft is a bit messed up with this change, so this is complicated to map it.

@Nekto89
Copy link
Contributor

Nekto89 commented May 2, 2024

I've just installed VS2022 Update 10 Preview 6 and tried to check how it works.
It requires at least CMake 3.29 https://gitlab.kitware.com/cmake/cmake/-/merge_requests/9271
cmake -G"Visual Studio 17 2022" "-Tv143,version=14.40.17.10"

Will conan support this version of VS2022 in 2.3.0? If yes, when it will be released?

@memsharded
Copy link
Member Author

Yes, it is intended in #15588 for 2.3, next week.

@memsharded memsharded modified the milestones: 2.3.0, 2.4.0 May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants