[llvm-shlib] Fix the version naming style of libLLVM for Windows (#85710)
[llvm-project.git] / llvm / tools / lli / CMakeLists.txt
blobe3fca225a22754b07cee8fb3ffee88e60a669ea5
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   JITLink
12   MC
13   MCJIT
14   Object
15   OrcJIT
16   OrcDebugging
17   OrcShared
18   OrcTargetProcess
19   Passes
20   RuntimeDyld
21   SelectionDAG
22   Support
23   Target
24   TargetParser
25   TransformUtils
26   native
27   )
29 if( LLVM_USE_OPROFILE )
30   set(LLVM_LINK_COMPONENTS
31     ${LLVM_LINK_COMPONENTS}
32     OProfileJIT
33     )
34 endif( LLVM_USE_OPROFILE )
36 if( LLVM_USE_INTEL_JITEVENTS )
37   set(LLVM_LINK_COMPONENTS
38     ${LLVM_LINK_COMPONENTS}
39     DebugInfoDWARF
40     IntelJITEvents
41     Object
42     )
43 endif( LLVM_USE_INTEL_JITEVENTS )
45 if( LLVM_USE_PERF )
46   set(LLVM_LINK_COMPONENTS
47     ${LLVM_LINK_COMPONENTS}
48     DebugInfoDWARF
49     PerfJITEvents
50     Object
51     )
52 endif( LLVM_USE_PERF )
54 add_llvm_tool(lli
55   lli.cpp
57   DEPENDS
58   intrinsics_gen
59   )
61 export_executable_symbols(lli)