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

Clang Kits always use the Visual Studio bundled version #2814

Closed
bobbrow opened this issue Oct 21, 2022 · 3 comments
Closed

Clang Kits always use the Visual Studio bundled version #2814

bobbrow opened this issue Oct 21, 2022 · 3 comments
Labels
bug a bug in the product Feature: kits more info needed More info is needed from the community for us to properly triage and investigate.
Milestone

Comments

@bobbrow
Copy link
Member

bobbrow commented Oct 21, 2022

    Another related note is the `C` and `CXX` compiler specifications do not appear to do anything when using clang-cl - for example, if I specify:
    "compilers": {
      "C": "C:\\Program Files\\LLVM\\bin\\clang-cl.exe",
      "CXX": "C:\\Program Files\\LLVM\\bin\\clang-cl.exe",
    }

... or specify CMAKE_CXX_COMPILER by hand in the CMakeCache.txt, when using the visual studio generators, cmake will always use the Visual-Studio-bundled clang-cl instead of the one I tell it to.

Originally posted by @fredemmott in #2810 (comment)

@fredemmott
Copy link

For context, the reason I care about this is that the Xaml compiler is currently only supported via msbuild, so I need to use an msbuild-based generator - but I'd like to use clang for the better error messages, especially for templates and C++20 concepts

@bobbrow bobbrow added bug a bug in the product Feature: kits labels Oct 28, 2022
@bobbrow bobbrow added this to the On Deck milestone Oct 28, 2022
@github-project-automation github-project-automation bot moved this to Triage Needed in CMake Tools Nov 29, 2023
@gcampbell-msft gcampbell-msft moved this from Triage Needed to Pending Prioritization in CMake Tools Nov 29, 2023
@gcampbell-msft
Copy link
Collaborator

@fredemmott Does this issue still reproduce for you? Our apologies for how long this issue has been open, but we'd like confirmation about whether this issue is still blocking you before we add it to our backlog for the next milestone. Thanks!

@gcampbell-msft gcampbell-msft added the more info needed More info is needed from the community for us to properly triage and investigate. label Jun 24, 2024
@gcampbell-msft
Copy link
Collaborator

Closing this issue as stale, please open a new issue if you still are facing issues. Thanks!

@gcampbell-msft gcampbell-msft closed this as not planned Won't fix, can't repro, duplicate, stale Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug a bug in the product Feature: kits more info needed More info is needed from the community for us to properly triage and investigate.
Projects
Status: Pending Prioritization
Development

No branches or pull requests

3 participants