Search code examples
c++clangclion

How can I add Clang toolchain in my CLion IDE?


I have installed LLVM 12.0.0 win-64 in my Win-10 machine.

The following is my CLion 2019.3 configuration window for the compiler toolchain:

enter image description here

I don't see Clang or LLVM option here.

How can I add Clang in my CLion IDE?

P.S. Are MinGW and Clang the same or different toolchains?


Solution

  • Most common setups are handled in this section: https://www.jetbrains.com/help/clion/quick-tutorial-on-configuring-clion-on-windows.html
    On Windows, you install Visual Studio with the Clang components.