how to Configure a Windows project to use Clang tools

Murray Sobol 21 Reputation points

Configure a Windows project to use Clang tools

To configure a Visual Studio project to use Clang, right-click on the project node in Solution Explorer and choose Properties. Typically, you should first choose All configurations at the top of the dialog. Then, under General > Platform Toolset, choose LLVM (clang-cl) and then OK.

Screenshot of the Property Pages dialog box with Configuration Properties > General selected and the Platform Toolset and LLVM (clang-cl) option highlighted.

When I open Solution Explorer and choose Properties, I don't get the above output; instead I get this:

A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,441 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Murray Sobol 21 Reputation points

    What am I missing; I believe that I have all of the prerequisites installed??


  2. Murray Sobol 21 Reputation points

    I created a WRONG project, this time I created a "Empty Project"; everything was there as expected and I was able to set Clang.

    Thanks for the tip; there are SO MANY different choices when creating a project, some of them seemingly very similar (but probably with slight differences) that it is quite challenging to make the correct choice.

    0 comments No comments