How do I build using clang on windows? #116
Answered
by
friendlyanon
rupakhetibinit
asked this question in
Q&A
-
By default it seems to use MSVC. I don't see any option to change it. |
Beta Was this translation helpful? Give feedback.
Answered by
friendlyanon
Jul 8, 2024
Replies: 1 comment 2 replies
-
Using LLVM Clang requires nothing more than setting it as the compiler. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The Visual Studio generator doesn't care about those env variables. Use Ninja and the CMAKE_<LANG>_COMPILER cache variable. Make a new user preset for convenience.