Add experimental support for unofficial monorepo-like directory layout
authorMehdi Amini <mehdi.amini@apple.com>
Mon, 7 Nov 2016 22:13:38 +0000 (22:13 +0000)
committerMehdi Amini <mehdi.amini@apple.com>
Mon, 7 Nov 2016 22:13:38 +0000 (22:13 +0000)
commit1eed06a3795d01a843d9ec0bc81f436da8d03779
tree9280c4d160b036e054c6cad9e1f8c5915095dbe0
parentc1f152d8d1e778be594b3ebe7eeac3428c030fd4
Add experimental support for unofficial monorepo-like directory layout

Summary:
This allows to have clang and llvm and the other subprojects
side-by-side instead of nested. This can be used with the monorepo or
multiple repos.

It will help having a single set of sources checked out but allows to
have a build directory with llvm and another one with llvm+clang.
Basically it abstracts LLVM_EXTERNAL_xxxx_SOURCE_DIR making it more
convenient by adopting a convention.

Reviewers: bogner, beanz, jlebar

Subscribers: mgorny, llvm-commits

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

llvm-svn: 286162
llvm/CMakeLists.txt
llvm/docs/CMake.rst