Yes, Clang is supported. To set it up you need to put path to clang into CMAKE_C_COMPILER/CMAKE_CXX_COMPILER variables. This can be done either in CMakeLists.txt, or by providing command line options in CLion's CMake settings.
Ok, I have downloaded llvm/clang with two directories, "llvm" and "build". These are in /documents/. But in cmake preferences it asks for a variable and value, not a path. I am not sure how to connect everything together. Can you provide more detail on what to do inside the cmake preferences? Thank you.
Yes, Clang is supported. To set it up you need to put path to clang into CMAKE_C_COMPILER/CMAKE_CXX_COMPILER variables. This can be done either in CMakeLists.txt, or by providing command line options in CLion's CMake settings.
Am I supposed to install Cmake in conjunction with CLion? If Clang is the compiler, what do I need Cmake for?
CLion uses CMake as a build tool and a project model. In most cases the bundled binary of CMake can be used, so there is no need to install it.
Ok, I have downloaded llvm/clang with two directories, "llvm" and "build". These are in /documents/. But in cmake preferences it asks for a variable and value, not a path. I am not sure how to connect everything together. Can you provide more detail on what to do inside the cmake preferences? Thank you.