X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=tools%2FCMakeLists.txt;h=e6637813cd562e0a0a9450a756d2376746b253fa;hb=0a230e0d985625a3909cb78fd867a3abaf434565;hp=9b80ee5a23a2d63db3f4d925d4d01f5ea9c5285a;hpb=46af06799732192ec7c8d0cc76ea151874b51129;p=oota-llvm.git diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt index 9b80ee5a23a..e6637813cd5 100644 --- a/tools/CMakeLists.txt +++ b/tools/CMakeLists.txt @@ -14,7 +14,6 @@ add_subdirectory(llvm-dis) add_subdirectory(llvm-mc) add_subdirectory(llc) -add_subdirectory(llvm-ranlib) add_subdirectory(llvm-ar) add_subdirectory(llvm-nm) add_subdirectory(llvm-size) @@ -44,6 +43,7 @@ add_subdirectory(llvm-mcmarkup) add_subdirectory(llvm-symbolizer) add_subdirectory(obj2yaml) +add_subdirectory(yaml2obj) if( NOT WIN32 ) add_subdirectory(lto) @@ -58,8 +58,11 @@ if( LLVM_ENABLE_PIC ) endif() add_llvm_external_project(clang) -add_llvm_external_project(lld) -add_llvm_external_project(lldb) -add_llvm_external_project(polly) + +if( NOT LLVM_INCLUDE_TOOLS STREQUAL "bootstrap-only" ) + add_llvm_external_project(lld) + add_llvm_external_project(lldb) + add_llvm_external_project(polly) +endif() set(LLVM_COMMON_DEPENDS ${LLVM_COMMON_DEPENDS} PARENT_SCOPE)