[llvm-shlib] Fix the version naming style of libLLVM for Windows (#85710)
[llvm-project.git] / llvm / lib / ExecutionEngine / JITLink / CMakeLists.txt
blobe5f5a99c39bc0043b66a1589167771c603ede182
1 set(LLVM_TARGET_DEFINITIONS COFFOptions.td)
2 tablegen(LLVM COFFOptions.inc -gen-opt-parser-defs)
3 add_public_tablegen_target(JITLinkTableGen)
5 add_llvm_component_library(LLVMJITLink
6   DWARFRecordSectionSplitter.cpp
7   EHFrameSupport.cpp
8   JITLink.cpp
9   JITLinkGeneric.cpp
10   JITLinkMemoryManager.cpp
12   # Formats:
14   # MachO
15   MachO.cpp
16   MachO_arm64.cpp
17   MachO_x86_64.cpp
18   MachOLinkGraphBuilder.cpp
20   # ELF
21   ELF.cpp
22   ELFLinkGraphBuilder.cpp
23   ELF_aarch32.cpp
24   ELF_aarch64.cpp
25   ELF_i386.cpp
26   ELF_loongarch.cpp
27   ELF_ppc64.cpp
28   ELF_riscv.cpp
29   ELF_x86_64.cpp
31   # COFF
32   COFF.cpp
33   COFFDirectiveParser.cpp
34   COFFLinkGraphBuilder.cpp
35   COFF_x86_64.cpp
37   # Architectures:
38   aarch32.cpp
39   aarch64.cpp
40   i386.cpp
41   loongarch.cpp
42   ppc64.cpp
43   riscv.cpp
44   x86_64.cpp
46   ADDITIONAL_HEADER_DIRS
47   ${LLVM_MAIN_INCLUDE_DIR}/llvm/ExecutionEngine/JITLink
49   DEPENDS
50   intrinsics_gen
51   JITLinkTableGen
53   LINK_COMPONENTS
54   BinaryFormat
55   Object
56   Option
57   OrcTargetProcess
58   Support
59   TargetParser
60   )
62 target_link_libraries(LLVMJITLink
63   PRIVATE
64   LLVMObject
65   LLVMOrcShared
66   LLVMOrcTargetProcess
67   LLVMSupport
68   LLVMTargetParser