Add TransformUtils dependency to lli.
[oota-llvm.git] / tools / lli / CMakeLists.txt
1 add_subdirectory(ChildTarget)
2
3 set(LLVM_LINK_COMPONENTS
4   CodeGen
5   Core
6   ExecutionEngine
7   IRReader
8   Instrumentation
9   Interpreter
10   MC
11   MCJIT
12   Object
13   OrcJIT
14   RuntimeDyld
15   SelectionDAG
16   Support
17   TransformUtils
18   native
19   )
20
21 if( LLVM_USE_OPROFILE )
22   set(LLVM_LINK_COMPONENTS
23     ${LLVM_LINK_COMPONENTS}
24     OProfileJIT
25     )
26 endif( LLVM_USE_OPROFILE )
27
28 if( LLVM_USE_INTEL_JITEVENTS )
29   set(LLVM_LINK_COMPONENTS
30     ${LLVM_LINK_COMPONENTS}
31     DebugInfoDWARF
32     IntelJITEvents
33     Object
34     )
35 endif( LLVM_USE_INTEL_JITEVENTS )
36
37 add_llvm_tool(lli
38   lli.cpp
39   OrcLazyJIT.cpp
40   RemoteMemoryManager.cpp
41   RemoteTarget.cpp
42   RemoteTargetExternal.cpp
43   )
44 export_executable_symbols(lli)