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 | |
Oscar Fuentes | f194b62 | 2009-08-12 01:36:27 +0000 | [diff] [blame] | 5 | if( NOT MSVC ) |
Oscar Fuentes | 27b08a4 | 2009-08-14 01:55:05 +0000 | [diff] [blame^] | 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 |
| 10 | # be built. |
| 11 | add_subdirectory(llvm-config) |
Douglas Gregor | 92aa978 | 2009-06-04 19:53:37 +0000 | [diff] [blame] | 12 | endif() |
Oscar Fuentes | 00905d5 | 2008-09-22 01:08:49 +0000 | [diff] [blame] | 13 | |
| 14 | add_subdirectory(opt) |
| 15 | add_subdirectory(llvm-as) |
| 16 | add_subdirectory(llvm-dis) |
Chris Lattner | 20b3263 | 2009-06-18 23:04:45 +0000 | [diff] [blame] | 17 | add_subdirectory(llvm-mc) |
Oscar Fuentes | 00905d5 | 2008-09-22 01:08:49 +0000 | [diff] [blame] | 18 | |
| 19 | add_subdirectory(llc) |
| 20 | add_subdirectory(llvm-ranlib) |
| 21 | add_subdirectory(llvm-ar) |
| 22 | add_subdirectory(llvm-nm) |
| 23 | |
| 24 | add_subdirectory(llvm-ld) |
| 25 | add_subdirectory(llvm-prof) |
| 26 | add_subdirectory(llvm-link) |
| 27 | add_subdirectory(lli) |
| 28 | |
| 29 | # gccas and gccld are deprecated: |
| 30 | # add_subdirectory(gccas) |
| 31 | # add_subdirectory(gccld) |
| 32 | add_subdirectory(llvm-extract) |
| 33 | add_subdirectory(llvm-db) |
| 34 | |
| 35 | add_subdirectory(bugpoint) |
| 36 | add_subdirectory(llvm-bcanalyzer) |
| 37 | add_subdirectory(llvm-stub) |
Oscar Fuentes | 6f674c8 | 2008-11-25 22:18:49 +0000 | [diff] [blame] | 38 | add_subdirectory(llvmc) |
Oscar Fuentes | 246123a | 2008-10-26 00:52:09 +0000 | [diff] [blame] | 39 | |
| 40 | if( EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/clang/CMakeLists.txt ) |
| 41 | add_subdirectory( ${CMAKE_CURRENT_SOURCE_DIR}/clang ) |
| 42 | endif( EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/clang/CMakeLists.txt ) |