llvm-for-llvmta/lib/Target/CSKY/CMakeLists.txt

27 lines
492 B
CMake
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
add_llvm_component_group(CSKY)
set(LLVM_TARGET_DEFINITIONS CSKY.td)
tablegen(LLVM CSKYGenRegisterInfo.inc -gen-register-info)
tablegen(LLVM CSKYGenInstrInfo.inc -gen-instr-info)
tablegen(LLVM CSKYGenMCCodeEmitter.inc -gen-emitter)
add_public_tablegen_target(CSKYCommonTableGen)
add_llvm_target(CSKYCodeGen
CSKYTargetMachine.cpp
LINK_COMPONENTS
Core
CodeGen
CSKYInfo
Support
Target
ADD_TO_COMPONENT
CSKY
)
add_subdirectory(TargetInfo)
add_subdirectory(MCTargetDesc)