Oscar Fuentes | 3d01fc7 | 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 | |
Michael J. Spencer | 3a210e2 | 2010-09-13 23:59:48 +0000 | [diff] [blame] | 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 |
| 10 | # be built. |
| 11 | add_subdirectory(llvm-config) |
| 12 | endif() |
| 13 | |
Oscar Fuentes | 3d01fc7 | 2008-09-22 01:08:49 +0000 | [diff] [blame] | 14 | add_subdirectory(opt) |
| 15 | add_subdirectory(llvm-as) |
| 16 | add_subdirectory(llvm-dis) |
Chris Lattner | f9f065e | 2009-06-18 23:04:45 +0000 | [diff] [blame] | 17 | add_subdirectory(llvm-mc) |
Oscar Fuentes | 3d01fc7 | 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 | |
Oscar Fuentes | 3d01fc7 | 2008-09-22 01:08:49 +0000 | [diff] [blame] | 29 | add_subdirectory(llvm-extract) |
John McCall | b82b433 | 2010-08-24 09:16:51 +0000 | [diff] [blame] | 30 | add_subdirectory(llvm-diff) |
Oscar Fuentes | 3d01fc7 | 2008-09-22 01:08:49 +0000 | [diff] [blame] | 31 | |
| 32 | add_subdirectory(bugpoint) |
Rafael Espindola | 6b01837 | 2010-08-08 00:50:57 +0000 | [diff] [blame] | 33 | add_subdirectory(bugpoint-passes) |
Oscar Fuentes | 3d01fc7 | 2008-09-22 01:08:49 +0000 | [diff] [blame] | 34 | add_subdirectory(llvm-bcanalyzer) |
| 35 | add_subdirectory(llvm-stub) |
Ted Kremenek | 0a6f053 | 2010-04-13 20:52:50 +0000 | [diff] [blame] | 36 | add_subdirectory(edis) |
Oscar Fuentes | 63c956c | 2008-11-25 22:18:49 +0000 | [diff] [blame] | 37 | add_subdirectory(llvmc) |
Oscar Fuentes | 48ed0f5 | 2008-10-26 00:52:09 +0000 | [diff] [blame] | 38 | |
| 39 | if( EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/clang/CMakeLists.txt ) |
| 40 | add_subdirectory( ${CMAKE_CURRENT_SOURCE_DIR}/clang ) |
Michael J. Spencer | 3a210e2 | 2010-09-13 23:59:48 +0000 | [diff] [blame] | 41 | endif( EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/clang/CMakeLists.txt ) |
| 42 | |
| 43 | set(LLVM_COMMON_DEPENDS ${LLVM_COMMON_DEPENDS} PARENT_SCOPE) |