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

[bug] cmake generator does not support Visual Studio 17 2022 #9362

Closed
thorbenk opened this issue Aug 2, 2021 · 2 comments · Fixed by #9370
Closed

[bug] cmake generator does not support Visual Studio 17 2022 #9362

thorbenk opened this issue Aug 2, 2021 · 2 comments · Fixed by #9370
Assignees
Milestone

Comments

@thorbenk
Copy link

thorbenk commented Aug 2, 2021

When using the cmake generator with the new Visual Studio 17 2022 release, conan tries to call cmake with the following generator Visual Studio UnknownVersion 17 Win64.

This is because the new version needs to be added to the dictionary in cmake_flags.py. I'll open a pull request for this.

thorbenk added a commit to thorbenk/conan that referenced this issue Aug 2, 2021
@lasote lasote added this to the 1.40 milestone Aug 3, 2021
@lasote
Copy link
Contributor

lasote commented Aug 3, 2021

Thanks!

@SSE4
Copy link
Contributor

SSE4 commented Aug 3, 2021

thanks for letting us know. I've just installed Visual Studio 2022 preview and looking at it.
I believe there are more changes to be made:

  • default profile, compiler detection (old and v2)
  • new settings (Visual Studio and msvc compilers)
  • cmake build helper (old and toolchain)
  • msbuild build helper (old and toolchain)
  • vcvars changes, if any
  • cppstd and potentially other compiler/linker flags

I'll let you know once I have updates

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