1 # NOTE: The tools are organized into five groups of four consisting of one
2 # large and three small executables. This is done to minimize memory load
3 # in parallel builds. Please retain this ordering.
5 if( NOT WIN32 OR MSYS OR CYGWIN )
6 # It is useful to build llvm-config before the other tools, so we
7 # have a fresh LibDeps.txt for regenerating the hard-coded library
8 # dependencies. llvm-config/CMakeLists.txt takes care of this but we
9 # must keep llvm-config as the first entry on the list of tools to
11 add_subdirectory(llvm-config)
15 add_subdirectory(llvm-as)
16 add_subdirectory(llvm-dis)
17 add_subdirectory(llvm-mc)
20 add_subdirectory(llvm-ranlib)
21 add_subdirectory(llvm-ar)
22 add_subdirectory(llvm-nm)
24 add_subdirectory(llvm-ld)
25 add_subdirectory(llvm-prof)
26 add_subdirectory(llvm-link)
29 add_subdirectory(llvm-extract)
30 add_subdirectory(llvm-db)
32 add_subdirectory(bugpoint)
33 add_subdirectory(llvm-bcanalyzer)
34 add_subdirectory(llvm-stub)
35 add_subdirectory(llvmc)
37 if( EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/clang/CMakeLists.txt )
38 add_subdirectory( ${CMAKE_CURRENT_SOURCE_DIR}/clang )
39 endif( EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/clang/CMakeLists.txt )
41 set(LLVM_COMMON_DEPENDS ${LLVM_COMMON_DEPENDS} PARENT_SCOPE)