diff options
| author | Brian Gesiak <modocache@gmail.com> | 2017-09-27 21:37:33 +0000 |
|---|---|---|
| committer | Brian Gesiak <modocache@gmail.com> | 2017-09-27 21:37:33 +0000 |
| commit | 88f2aa12d9c8677934329799026d866e2a1cfd1b (patch) | |
| tree | 247ccd0cb6836822b7e008bfa55206b980c6b58e | |
| parent | cb15e22b3b4d39bd642bbaf3e3b5c4e2774259cc (diff) | |
| download | bcm5719-llvm-88f2aa12d9c8677934329799026d866e2a1cfd1b.tar.gz bcm5719-llvm-88f2aa12d9c8677934329799026d866e2a1cfd1b.zip | |
[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
llvm-svn: 314348
| -rw-r--r-- | llvm/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/CMakeLists.txt b/llvm/CMakeLists.txt index 410c6afa17e..336b8bd06d3 100644 --- a/llvm/CMakeLists.txt +++ b/llvm/CMakeLists.txt @@ -237,7 +237,7 @@ endif() include(CPack) # Sanity check our source directory to make sure that we are not trying to -# generate an in-tree build (unless on MSVC_IDE, where it is ok), and to make +# generate an in-source build (unless on MSVC_IDE, where it is ok), and to make # sure that we don't have any stray generated files lying around in the tree # (which would end up getting picked up by header search, instead of the correct # versions). |

