Relative Content

Tag Archive for c++visual-studioclang

What does MSVC-like command line mean when using Clang compiler on Windows?

So I have installed the Clang tools on Visual Studio on Windows, and this lets me use the Clang compiler in Visual Studio. In my CMake I set the toolchain argument to ‘ClangCL’ and it sets it up conveniently in the Visual Studio solution. The issue is that, being the Clang compiler I thought I can pass it Clang compiler flags, for example: