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