how to Configure a Windows project to use Clang tools

Murray Sobol 21 Reputation points
2023-01-13T20:46:43.95+00:00

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:

C++
C++
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,527 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Murray Sobol 21 Reputation points
    2023-01-13T20:48:23.5933333+00:00

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

    Thanks


  2. Murray Sobol 21 Reputation points
    2023-01-14T14:26:29.0833333+00:00

    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