How to integrate LLVM 5.0 in Visual Studio 2017?

From llvm site , I can load a prebuilt binary LLVM 4.0. After installing the pre-generated binary on Windows with, Visual Studio 2017I can easily switch the compiler between VC++and Clang 4.0using Platform Toolset.

From Getting started with the LLVM system using Microsoft Visual Studio , I can also create a tool chain LLVM(the result for many executable files) on Windows. However, I do not know how to create a ready-made installer and get the same effects as the official version.

Because llvm site does not provide a pre-built binary for LLVM 5.0 (SVN), so I have to do it myself.

Is there a tutorial telling me how to create an installer LLVM 5.0 (SVN)from LLVMsource code?

Thanks in advance.

===================

Why LLVM 5.0

The following C ++ 17 features are only available in LLVM 5.0:

  • Template argument deduction for class templates
  • constexpr lambda expressions
+4
source share
1 answer

, . <LLVMInstallDir>/tools/msbuild, bat LLVM. , , SVN.

+2

Source: https://habr.com/ru/post/1672239/


All Articles