CMakeLists.txt revision 385e930d55f3ecd3c9538823dfa5896a12461845
1set(LLVM_TARGET_DEFINITIONS MSP430.td)
2
3tablegen(MSP430GenRegisterInfo.inc -gen-register-info)
4tablegen(MSP430GenInstrInfo.inc -gen-instr-info)
5tablegen(MSP430GenAsmWriter.inc -gen-asm-writer)
6tablegen(MSP430GenDAGISel.inc -gen-dag-isel)
7tablegen(MSP430GenCallingConv.inc -gen-callingconv)
8tablegen(MSP430GenSubtargetInfo.inc -gen-subtarget)
9
10add_llvm_target(MSP430CodeGen
11  MSP430BranchSelector.cpp
12  MSP430ISelDAGToDAG.cpp
13  MSP430ISelLowering.cpp
14  MSP430InstrInfo.cpp
15  MSP430FrameLowering.cpp
16  MSP430MCAsmInfo.cpp
17  MSP430RegisterInfo.cpp
18  MSP430Subtarget.cpp
19  MSP430TargetMachine.cpp
20  MSP430SelectionDAGInfo.cpp
21  MSP430AsmPrinter.cpp
22  MSP430MCInstLower.cpp
23  )
24
25add_subdirectory(InstPrinter)
26add_subdirectory(TargetInfo)
27