The extension DOES NOT WORK any more for releases 16.10+ of VS2019!
See the Notes below.
An extension for building C/C++ projects with the LLVM Compiler Toolchain (installed separately).
This is a (slightly) modified version of the LLVM Compiler Toolchain extension for Visual Studio 2017 as published under llvm-project in folder llvm/tools/msbuild. It has the same limitations as the original: in particular some options of the MSVC compiler are not supported and may lead to errors during build.
Built with Visual Studio 2019 Community edition.
Tested (very cursory) under Visual Studio 2019 Community only.
- the extension DOES NOT WORK any more for releases 16.10+ of VS2019 (!),
- as a replacement I would suggest Microsoft C++ Clang tools for Windows that can be installed via Visual Studio Installer as an optional tool in the "Desktop development with C++" workload. You can use that tool with an external Clang/LLVM release (other than the one installed with the tool) by - for example - setting
LLVMToolsVersion environment variables like this:
set LLVMInstallDir=C:\Program Files\LLVM
rem LLVMToolsVersion = name of the last subfolder in the path C:\Program Files\LLVM\lib\clang\12.0.0