X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=tools%2FCMakeLists.txt;h=5f006594c52a5544da9add4189a2a9e8054d9346;hb=ddc5a010a40a7b85a020a072f9f6b4ae132e94bd;hp=66271a9f0acf0d57b8570296dbaf4660a64be493;hpb=d6dbd6b88341f1f7492b8c170077cbbb2014f1e0;p=oota-llvm.git diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt index 66271a9f0ac..5f006594c52 100644 --- a/tools/CMakeLists.txt +++ b/tools/CMakeLists.txt @@ -2,13 +2,7 @@ # three small executables. This is done to minimize memory load in parallel # builds. Please retain this ordering. -if( NOT WIN32 OR MSYS OR CYGWIN ) - # We currently require 'sed' to build llvm-config, so don't try to build it - # on pure Win32. - add_llvm_tool_subdirectory(llvm-config) -else() - ignore_llvm_tool_subdirectory(llvm-config) -endif() +add_llvm_tool_subdirectory(llvm-config) add_llvm_tool_subdirectory(opt) add_llvm_tool_subdirectory(llvm-as) @@ -21,7 +15,7 @@ add_llvm_tool_subdirectory(llvm-nm) add_llvm_tool_subdirectory(llvm-size) add_llvm_tool_subdirectory(llvm-cov) -add_llvm_tool_subdirectory(llvm-prof) +add_llvm_tool_subdirectory(llvm-profdata) add_llvm_tool_subdirectory(llvm-link) add_llvm_tool_subdirectory(lli) @@ -46,13 +40,17 @@ add_llvm_tool_subdirectory(llvm-mcmarkup) add_llvm_tool_subdirectory(llvm-symbolizer) +add_llvm_tool_subdirectory(llvm-c-test) + add_llvm_tool_subdirectory(obj2yaml) add_llvm_tool_subdirectory(yaml2obj) -if( NOT WIN32 ) +if( NOT CYGWIN ) add_llvm_tool_subdirectory(lto) + add_llvm_tool_subdirectory(llvm-lto) else() ignore_llvm_tool_subdirectory(lto) + ignore_llvm_tool_subdirectory(llvm-lto) endif() if( LLVM_ENABLE_PIC ) @@ -70,6 +68,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()