[CMake] Update libdeps.
[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   JIT
11   MC
12   MCJIT
13   Object
14   SelectionDAG
15   Support
16   native
17   )
18
19 if( LLVM_USE_OPROFILE )
20   set(LLVM_LINK_COMPONENTS
21     ${LLVM_LINK_COMPONENTS}
22     OProfileJIT
23     )
24 endif( LLVM_USE_OPROFILE )
25
26 if( LLVM_USE_INTEL_JITEVENTS )
27   set(LLVM_LINK_COMPONENTS
28     ${LLVM_LINK_COMPONENTS}
29     DebugInfo
30     IntelJITEvents
31     Object
32     )
33 endif( LLVM_USE_INTEL_JITEVENTS )
34
35 add_llvm_tool(lli
36   lli.cpp
37   RemoteMemoryManager.cpp
38   RemoteTarget.cpp
39   RemoteTargetExternal.cpp
40   )
41 set_target_properties(lli PROPERTIES ENABLE_EXPORTS 1)