[lit] Remove LitTestCase
[llvm-complete.git] / tools / lli / CMakeLists.txt
blob42f6c2b2ede4b24d933454738de7c3775082e2aa
1 if ( LLVM_INCLUDE_UTILS )
2   add_subdirectory(ChildTarget)
3 endif()
5 set(LLVM_LINK_COMPONENTS
6   CodeGen
7   Core
8   ExecutionEngine
9   IRReader
10   Interpreter
11   MC
12   MCJIT
13   Object
14   OrcJIT
15   RuntimeDyld
16   SelectionDAG
17   Support
18   Target
19   TransformUtils
20   native
21   )
23 if( LLVM_USE_OPROFILE )
24   set(LLVM_LINK_COMPONENTS
25     ${LLVM_LINK_COMPONENTS}
26     OProfileJIT
27     )
28 endif( LLVM_USE_OPROFILE )
30 if( LLVM_USE_INTEL_JITEVENTS )
31   set(LLVM_LINK_COMPONENTS
32     ${LLVM_LINK_COMPONENTS}
33     DebugInfoDWARF
34     IntelJITEvents
35     Object
36     )
37 endif( LLVM_USE_INTEL_JITEVENTS )
39 if( LLVM_USE_PERF )
40   set(LLVM_LINK_COMPONENTS
41     ${LLVM_LINK_COMPONENTS}
42     DebugInfoDWARF
43     PerfJITEvents
44     Object
45     )
46 endif( LLVM_USE_PERF )
48 add_llvm_tool(lli
49   lli.cpp
51   DEPENDS
52   intrinsics_gen
53   )
54 export_executable_symbols(lli)