llvm-project/llvm/lib/Target/RISCV/CMakeLists.txt

15 lines
374 B
CMake
Raw Normal View History

set(LLVM_TARGET_DEFINITIONS RISCV.td)
tablegen(LLVM RISCVGenRegisterInfo.inc -gen-register-info)
tablegen(LLVM RISCVGenInstrInfo.inc -gen-instr-info)
tablegen(LLVM RISCVGenMCCodeEmitter.inc -gen-emitter)
add_public_tablegen_target(RISCVCommonTableGen)
add_llvm_target(RISCVCodeGen
RISCVTargetMachine.cpp
)
add_subdirectory(TargetInfo)
add_subdirectory(MCTargetDesc)