LLVM 7.0 does not provide specific Platform Toolse

2020-03-30 16:14发布

问题:

I've just installed the LLVM 7.0.0 for Windows (64-bit) released few hours ago.

With the new version, all the platform toolsets provided by the previous release (6.0.1) for Visual Studio 2015 (named "LLVM-vs2014", "LLVM-vs2014_xp" and "LLVM-vs2010") are not available anymore.

I've seen a new extension named LLVM Compiler Toolchain in the Visual Studio Marketplace, but it is not available for Visual Studio 2015.

Do you know the reasons of this lack?

回答1:

The Visual Studio extension appears to be compatible with Visual Studio 2015, despite official support not being mentioned. At least one LLVM reviewer was able to install the .vsix in VS2015 out of the box.

I personally use the VC++ Build Tools 2015, and was able to get away with simply extracting the contents of the .vsix's $VCTargets directory into C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\v140\.