This change moves elfabi related code to llvm/InterfaceStub library so it can be shared by multiple llvm tools without causing cyclic dependencies. Differential Revision: https://reviews.llvm.org/D85678
17 lines
415 B
CMake
17 lines
415 B
CMake
add_llvm_component_library(LLVMTextAPI
|
|
MachO/Architecture.cpp
|
|
MachO/ArchitectureSet.cpp
|
|
MachO/InterfaceFile.cpp
|
|
MachO/PackedVersion.cpp
|
|
MachO/Platform.cpp
|
|
MachO/Symbol.cpp
|
|
MachO/Target.cpp
|
|
MachO/TextStub.cpp
|
|
MachO/TextStubCommon.cpp
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
"${LLVM_MAIN_INCLUDE_DIR}/llvm/TextAPI"
|
|
"${LLVM_MAIN_INCLUDE_DIR}/llvm/TextAPI/Elf"
|
|
"${LLVM_MAIN_INCLUDE_DIR}/llvm/TextAPI/MachO"
|
|
)
|