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