[llvm-readobj] - Refine the LLVM-style output to be consistent.
[llvm-complete.git] / tools / lli / CMakeLists.txt
blob476c09229e63a07ffab2e86a31d29fa5ca230c0d
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   Passes
16   RuntimeDyld
17   SelectionDAG
18   Support
19   Target
20   TransformUtils
21   native
22   )
24 if( LLVM_USE_OPROFILE )
25   set(LLVM_LINK_COMPONENTS
26     ${LLVM_LINK_COMPONENTS}
27     OProfileJIT
28     )
29 endif( LLVM_USE_OPROFILE )
31 if( LLVM_USE_INTEL_JITEVENTS )
32   set(LLVM_LINK_COMPONENTS
33     ${LLVM_LINK_COMPONENTS}
34     DebugInfoDWARF
35     IntelJITEvents
36     Object
37     )
38 endif( LLVM_USE_INTEL_JITEVENTS )
40 if( LLVM_USE_PERF )
41   set(LLVM_LINK_COMPONENTS
42     ${LLVM_LINK_COMPONENTS}
43     DebugInfoDWARF
44     PerfJITEvents
45     Object
46     )
47 endif( LLVM_USE_PERF )
49 add_llvm_tool(lli
50   lli.cpp
52   DEPENDS
53   intrinsics_gen
54   )
55 export_executable_symbols(lli)