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