[CMake] Automatically pick up subdirectories in llvm/tools as 'external projects...
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 21 Aug 2013 19:13:44 +0000 (19:13 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 21 Aug 2013 19:13:44 +0000 (19:13 +0000)
commitd6dbd6b88341f1f7492b8c170077cbbb2014f1e0
treeadc548448d249a7dd8420ad9e6138e4d801dc468
parent795cfe3cfd48f7fc3794da8ce4fe0811bf1e298d
[CMake] Automatically pick up subdirectories in llvm/tools as 'external projects' if they contain a 'CMakeLists.txt' file.

Allow CMake to pick up external projects in llvm/tools without the need to modify the "llvm/tools/CMakeLists.txt" file.
This makes it easier to work with projects that live in other repositories, without needing to specify each one in "llvm/tools/CMakeLists.txt".

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188921 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/modules/AddLLVM.cmake
tools/CMakeLists.txt