llvm-for-llvmta/lib/ExecutionEngine/JITLink/CMakeLists.txt

34 lines
526 B
CMake
Raw Normal View History

2022-04-25 10:02:23 +02:00
add_llvm_component_library(LLVMJITLink
JITLink.cpp
JITLinkGeneric.cpp
JITLinkMemoryManager.cpp
EHFrameSupport.cpp
#macho
MachO.cpp
MachO_arm64.cpp
MachO_x86_64.cpp
MachOLinkGraphBuilder.cpp
#elf
ELF.cpp
ELF_x86_64.cpp
ADDITIONAL_HEADER_DIRS
${LLVM_MAIN_INCLUDE_DIR}/llvm/ExecutionEngine/JITLink
DEPENDS
intrinsics_gen
LINK_COMPONENTS
BinaryFormat
Object
OrcTargetProcess
Support
)
target_link_libraries(LLVMJITLink
PRIVATE
LLVMObject
LLVMOrcTargetProcess
LLVMSupport
)