1 # NOTE: The tools are organized into groups of four consisting of one large and
2 # three small executables. This is done to minimize memory load in parallel
3 # builds. Please retain this ordering.
5 if( NOT WIN32 OR MSYS OR CYGWIN )
6 # We currently require 'sed' to build llvm-config, so don't try to build it
8 add_subdirectory(llvm-config)
12 add_subdirectory(llvm-as)
13 add_subdirectory(llvm-dis)
14 add_subdirectory(llvm-mc)
17 add_subdirectory(llvm-ranlib)
18 add_subdirectory(llvm-ar)
19 add_subdirectory(llvm-nm)
20 add_subdirectory(llvm-size)
22 add_subdirectory(llvm-cov)
23 add_subdirectory(llvm-prof)
24 add_subdirectory(llvm-link)
27 add_subdirectory(llvm-extract)
28 add_subdirectory(llvm-diff)
29 add_subdirectory(macho-dump)
30 add_subdirectory(llvm-objdump)
31 add_subdirectory(llvm-readobj)
32 add_subdirectory(llvm-rtdyld)
33 add_subdirectory(llvm-dwarfdump)
35 add_subdirectory(bugpoint)
36 add_subdirectory(bugpoint-passes)
37 add_subdirectory(llvm-bcanalyzer)
38 add_subdirectory(llvm-stress)
39 add_subdirectory(llvm-mcmarkup)
46 # TODO: support other systems:
47 if( CMAKE_SYSTEM_NAME STREQUAL "Linux" )
48 add_subdirectory(gold)
52 add_llvm_external_project(clang)
53 add_llvm_external_project(lld)
54 add_llvm_external_project(polly)
56 set(LLVM_COMMON_DEPENDS ${LLVM_COMMON_DEPENDS} PARENT_SCOPE)