28 lines
429 B
CMake
28 lines
429 B
CMake
if ( LLVM_INCLUDE_UTILS )
|
|
add_subdirectory(llvm-jitlink-executor)
|
|
endif()
|
|
|
|
set(LLVM_LINK_COMPONENTS
|
|
AllTargetsDescs
|
|
AllTargetsDisassemblers
|
|
AllTargetsInfos
|
|
BinaryFormat
|
|
ExecutionEngine
|
|
JITLink
|
|
MC
|
|
Object
|
|
OrcJIT
|
|
OrcShared
|
|
OrcTargetProcess
|
|
RuntimeDyld
|
|
Support
|
|
)
|
|
|
|
add_llvm_tool(llvm-jitlink
|
|
llvm-jitlink.cpp
|
|
llvm-jitlink-elf.cpp
|
|
llvm-jitlink-macho.cpp
|
|
)
|
|
|
|
export_executable_symbols(llvm-jitlink)
|