[CMake] Put back the add_llvm_external_project() calls for specific projects.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 27 Aug 2013 23:27:56 +0000 (23:27 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 27 Aug 2013 23:27:56 +0000 (23:27 +0000)
This allows setting-up the LLVM_EXTERNAL_* CMake variables that some people are using,
e.g. to set the source directory of the project in a different place.

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

tools/CMakeLists.txt

index 8a635a5b33ae065eb7dd3e38f185af879d6d9a77..1f15fc0b64fc098f49bc3d31e9219c38efe41119 100644 (file)
@@ -64,6 +64,10 @@ endif()
 add_llvm_external_project(clang)
 
 if( NOT LLVM_INCLUDE_TOOLS STREQUAL "bootstrap-only" )
+  add_llvm_external_project(lld)
+  add_llvm_external_project(lldb)
+  add_llvm_external_project(polly)
+
   # Automatically add remaining sub-directories containing a 'CMakeLists.txt'
   # file as external projects.
   add_llvm_implicit_external_projects()