llvm-for-llvmta/lib/Target/AArch64/MCTargetDesc/CMakeLists.txt

29 lines
687 B
CMake
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
add_llvm_component_library(LLVMAArch64Desc
AArch64AsmBackend.cpp
AArch64ELFObjectWriter.cpp
AArch64ELFStreamer.cpp
AArch64InstPrinter.cpp
AArch64MCAsmInfo.cpp
AArch64MCCodeEmitter.cpp
AArch64MCExpr.cpp
AArch64MCTargetDesc.cpp
AArch64MachObjectWriter.cpp
AArch64TargetStreamer.cpp
AArch64WinCOFFObjectWriter.cpp
AArch64WinCOFFStreamer.cpp
LINK_COMPONENTS
AArch64Info
AArch64Utils
MC
BinaryFormat
Support
ADD_TO_COMPONENT
AArch64
)
add_dependencies(LLVMAArch64Desc AArch64CommonTableGen)
# Hack: we need to include 'main' target directory to grab private headers
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/.. ${CMAKE_CURRENT_BINARY_DIR}/..)