]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/lib/Target/Nios2/CMakeLists.txt
Merge llvm, clang, lld, lldb, compiler-rt and libc++ r304149, and update
[FreeBSD/FreeBSD.git] / contrib / llvm / lib / Target / Nios2 / CMakeLists.txt
1 set(LLVM_TARGET_DEFINITIONS Nios2.td)
2
3 #Generate Nios2GenRegisterInfo.inc and Nios2GenInstrInfo.inc which included by
4 #your hand code C++ files.
5 #Nios2GenRegisterInfo.inc came from Nios2RegisterInfo.td, Nios2GenInstrInfo.inc
6 #came from Nios2InstrInfo.td.
7 tablegen(LLVM Nios2GenRegisterInfo.inc -gen-register-info)
8 tablegen(LLVM Nios2GenInstrInfo.inc -gen-instr-info)
9
10 #Nios2CommonTableGen must be defined
11 add_public_tablegen_target(Nios2CommonTableGen)
12
13 #Nios2CodeGen should match with LLVMBuild.txt Nios2CodeGen
14 add_llvm_target(Nios2CodeGen Nios2TargetMachine.cpp)
15
16 #Should match with "subdirectories =  MCTargetDesc TargetInfo" in LLVMBuild.txt
17 add_subdirectory(TargetInfo)
18 add_subdirectory(MCTargetDesc)