summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShoaib Meenai <smeenai@fb.com>2019-02-15 20:40:26 +0000
committerShoaib Meenai <smeenai@fb.com>2019-02-15 20:40:26 +0000
commitf59ea25ee62e7dee82c0bf2dd39494b6fa1f654e (patch)
treea81a1cabab4e3a33f5d599c514b503b0b40c0618
parentdf89c6ffa37366a07d2e3a07ce3985a3b8bf754e (diff)
downloadbcm5719-llvm-f59ea25ee62e7dee82c0bf2dd39494b6fa1f654e.tar.gz
bcm5719-llvm-f59ea25ee62e7dee82c0bf2dd39494b6fa1f654e.zip
[docs] Document LLVM_ENABLE_IDE
Use some of the wording and the motivating example from r344555. The lack of documentation was pointed out by Roman Lebedev. Differential Revision: https://reviews.llvm.org/D58286 llvm-svn: 354167
-rw-r--r--llvm/docs/CMake.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/docs/CMake.rst b/llvm/docs/CMake.rst
index 30fa5bc37fa..a58aa519af5 100644
--- a/llvm/docs/CMake.rst
+++ b/llvm/docs/CMake.rst
@@ -281,6 +281,15 @@ LLVM-specific variables
**LLVM_ENABLE_EXPENSIVE_CHECKS**:BOOL
Enable additional time/memory expensive checking. Defaults to OFF.
+**LLVM_ENABLE_IDE**:BOOL
+ Tell the build system that an IDE is being used. This in turn disables the
+ creation of certain convenience build system targets, such as the various
+ ``install-*`` and ``check-*`` targets, since IDEs don't always deal well with
+ a large number of targets. This is usually autodetected, but it can be
+ configured manually to explicitly control the generation of those targets. One
+ scenario where a manual override may be desirable is when using Visual Studio
+ 2017's CMake integration, which would not be detected as an IDE otherwise.
+
**LLVM_ENABLE_PIC**:BOOL
Add the ``-fPIC`` flag to the compiler command-line, if the compiler supports
this flag. Some systems, like Windows, do not need this flag. Defaults to ON.
OpenPOWER on IntegriCloud