Oscar Fuentes | 00905d5 | 2008-09-22 01:08:49 +0000 | [diff] [blame] | 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. |
| 4 | |
Douglas Gregor | 5d3c4e1 | 2009-06-23 18:30:17 +0000 | [diff] [blame] | 5 | # FIXME: We don't yet have the ability to build llvm-config with CMake |
| 6 | # based on explicit dependencies. |
| 7 | if (FALSE) |
Douglas Gregor | 92aa978 | 2009-06-04 19:53:37 +0000 | [diff] [blame] | 8 | add_subdirectory(llvm-config) |
| 9 | endif() |
Oscar Fuentes | 00905d5 | 2008-09-22 01:08:49 +0000 | [diff] [blame] | 10 | |
| 11 | add_subdirectory(opt) |
| 12 | add_subdirectory(llvm-as) |
| 13 | add_subdirectory(llvm-dis) |
Chris Lattner | 20b3263 | 2009-06-18 23:04:45 +0000 | [diff] [blame] | 14 | add_subdirectory(llvm-mc) |
Oscar Fuentes | 00905d5 | 2008-09-22 01:08:49 +0000 | [diff] [blame] | 15 | |
| 16 | add_subdirectory(llc) |
| 17 | add_subdirectory(llvm-ranlib) |
| 18 | add_subdirectory(llvm-ar) |
| 19 | add_subdirectory(llvm-nm) |
| 20 | |
| 21 | add_subdirectory(llvm-ld) |
| 22 | add_subdirectory(llvm-prof) |
| 23 | add_subdirectory(llvm-link) |
| 24 | add_subdirectory(lli) |
| 25 | |
| 26 | # gccas and gccld are deprecated: |
| 27 | # add_subdirectory(gccas) |
| 28 | # add_subdirectory(gccld) |
| 29 | add_subdirectory(llvm-extract) |
| 30 | add_subdirectory(llvm-db) |
| 31 | |
| 32 | add_subdirectory(bugpoint) |
| 33 | add_subdirectory(llvm-bcanalyzer) |
| 34 | add_subdirectory(llvm-stub) |
Oscar Fuentes | 6f674c8 | 2008-11-25 22:18:49 +0000 | [diff] [blame] | 35 | add_subdirectory(llvmc) |
Oscar Fuentes | 246123a | 2008-10-26 00:52:09 +0000 | [diff] [blame] | 36 | |
| 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 ) |