Skip to content

Commit 3c30544

Browse files
committed
[docs] Add a note that the Visual Studio C++ tools are required
Watching new contributors trying to build LLVM on Windows, one of the very common failure modes was getting a version of Visual Studio that did not have a C++ compiler for CMake to put up. Trying to create a C++ project in Visual Studio will cause Visual Studio to go and download the C++ tools. llvm-svn: 260049
1 parent d35e98f commit 3c30544

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

llvm/docs/GettingStartedVS.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,10 @@ Here's the short story for getting up and running quickly with LLVM:
9191
using LLVM. Another important option is ``LLVM_TARGETS_TO_BUILD``,
9292
which controls the LLVM target architectures that are included on the
9393
build.
94+
* If CMake complains that it cannot find the compiler, make sure that
95+
you have the Visual Studio C++ Tools installed, not just Visual Studio
96+
itself (trying to create a C++ project in Visual Studio will generally
97+
download the C++ tools if they haven't already been).
9498
* See the :doc:`LLVM CMake guide <CMake>` for detailed information about
9599
how to configure the LLVM build.
96100
* CMake generates project files for all build types. To select a specific

0 commit comments

Comments
 (0)