blob: 7ed10e9729dea114282bf3c54c89585027775882 [file] [log] [blame]
Oscar Fuentes3d01fc72008-09-22 01:08:49 +00001# 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. Spencer3a210e22010-09-13 23:59:48 +00005if( 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)
12endif()
13
Oscar Fuentes3d01fc72008-09-22 01:08:49 +000014add_subdirectory(opt)
15add_subdirectory(llvm-as)
16add_subdirectory(llvm-dis)
Chris Lattnerf9f065e2009-06-18 23:04:45 +000017add_subdirectory(llvm-mc)
Oscar Fuentes3d01fc72008-09-22 01:08:49 +000018
19add_subdirectory(llc)
20add_subdirectory(llvm-ranlib)
21add_subdirectory(llvm-ar)
22add_subdirectory(llvm-nm)
23
24add_subdirectory(llvm-ld)
25add_subdirectory(llvm-prof)
26add_subdirectory(llvm-link)
27add_subdirectory(lli)
28
Oscar Fuentes3d01fc72008-09-22 01:08:49 +000029add_subdirectory(llvm-extract)
John McCallb82b4332010-08-24 09:16:51 +000030add_subdirectory(llvm-diff)
Oscar Fuentes3d01fc72008-09-22 01:08:49 +000031
32add_subdirectory(bugpoint)
Rafael Espindola6b018372010-08-08 00:50:57 +000033add_subdirectory(bugpoint-passes)
Oscar Fuentes3d01fc72008-09-22 01:08:49 +000034add_subdirectory(llvm-bcanalyzer)
35add_subdirectory(llvm-stub)
Ted Kremenek0a6f0532010-04-13 20:52:50 +000036add_subdirectory(edis)
Oscar Fuentes63c956c2008-11-25 22:18:49 +000037add_subdirectory(llvmc)
Oscar Fuentes48ed0f52008-10-26 00:52:09 +000038
39if( EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/clang/CMakeLists.txt )
40 add_subdirectory( ${CMAKE_CURRENT_SOURCE_DIR}/clang )
Michael J. Spencer3a210e22010-09-13 23:59:48 +000041endif( EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/clang/CMakeLists.txt )
42
43set(LLVM_COMMON_DEPENDS ${LLVM_COMMON_DEPENDS} PARENT_SCOPE)