OSDN Git Service

[CMake] Fix typo: "in-tree" -> "in-source" (NFC)
authorBrian Gesiak <modocache@gmail.com>
Wed, 27 Sep 2017 21:37:33 +0000 (21:37 +0000)
committerBrian Gesiak <modocache@gmail.com>
Wed, 27 Sep 2017 21:37:33 +0000 (21:37 +0000)
commit0a891e05bfa31f54b3172f1aea88240897c81c59
tree15c1e76064a8e4094cbc235298c21afe0b93829c
parentde9cae20fec1a040893adc9b29d47fee3c7272d7
[CMake] Fix typo: "in-tree" -> "in-source" (NFC)

Summary:
*In-source builds* of LLVM, in which a user invokes `cmake` from within the
LLVM source directory, or invokes `cmake -B/path/to/source/dir/of/llvm`,
are explicitly checked for and disallowed by LLVM's `CMakeLists.txt`.

*In-tree builds*, on the other hand, refer to when the source directories
of projects such as Clang are nested within the `llvm/tools` source
directory. These are not disallowed, and are in fact a common way of
building LLVM and Clang.

Revise the comment to match the logic underneath it: it checks for an
"in-source build", not an "in-tree build".

Reviewers: beanz

Reviewed By: beanz

Subscribers: mgorny

Differential Revision: https://reviews.llvm.org/D38317

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@314348 91177308-0d34-0410-b5e6-96231b3b80d8
CMakeLists.txt