diff options
| author | Hans Wennborg <hans@hanshq.net> | 2018-03-01 14:00:19 +0000 |
|---|---|---|
| committer | Hans Wennborg <hans@hanshq.net> | 2018-03-01 14:00:19 +0000 |
| commit | 69d6d7a4d8f5d6c8b4fdc003d77ec83812528344 (patch) | |
| tree | adff94c47a2d50e86d7ddb533a80de3134c21d92 | |
| parent | b3d88a7466d1d702f2fb5250ab0b0bda2ea59892 (diff) | |
| download | bcm5719-llvm-69d6d7a4d8f5d6c8b4fdc003d77ec83812528344.tar.gz bcm5719-llvm-69d6d7a4d8f5d6c8b4fdc003d77ec83812528344.zip | |
UsersManual: beef up the clang-cl text a little
llvm-svn: 326434
| -rw-r--r-- | clang/docs/UsersManual.rst | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/clang/docs/UsersManual.rst b/clang/docs/UsersManual.rst index 09e9f9e6609..62b53998b53 100644 --- a/clang/docs/UsersManual.rst +++ b/clang/docs/UsersManual.rst @@ -2684,10 +2684,20 @@ compatibility with the Visual C++ compiler, cl.exe. To enable clang-cl to find system headers, libraries, and the linker when run from the command-line, it should be executed inside a Visual Studio Native Tools Command Prompt or a regular Command Prompt where the environment has been set -up using e.g. `vcvars32.bat <http://msdn.microsoft.com/en-us/library/f2ccy3wt.aspx>`_. +up using e.g. `vcvarsall.bat <http://msdn.microsoft.com/en-us/library/f2ccy3wt.aspx>`_. + +clang-cl can also be used from inside Visual Studio by selecting the LLVM +Platform Toolset. The toolset is installed by the LLVM installer, which can be +downloaded from the `LLVM release <http://releases.llvm.org/download.html>`_ or +`snapshot build <http://llvm.org/builds/>`_ web pages. To use the toolset, +select a project in Solution Explorer, open its Property Page (Alt+F7), and in +the "General" section of "Configuration Properties" change "Platform Toolset" +to e.g. LLVM-vs2014. + +To use the toolset with MSBuild directly, invoke it with e.g. +``/p:PlatformToolset=LLVM-vs2014``. This allows trying out the clang-cl +toolchain without modifying your project files. -clang-cl can also be used from inside Visual Studio by using an LLVM Platform -Toolset. Command-Line Options -------------------- |

