CMakeLists.txt revision de8f33c199f3bf2049b0b732169f2bd8717469c6
1set(LLVM_TARGET_DEFINITIONS MSP430.td) 2 3llvm_tablegen(MSP430GenRegisterInfo.inc -gen-register-info) 4llvm_tablegen(MSP430GenInstrInfo.inc -gen-instr-info) 5llvm_tablegen(MSP430GenAsmWriter.inc -gen-asm-writer) 6llvm_tablegen(MSP430GenDAGISel.inc -gen-dag-isel) 7llvm_tablegen(MSP430GenCallingConv.inc -gen-callingconv) 8llvm_tablegen(MSP430GenSubtargetInfo.inc -gen-subtarget) 9add_public_tablegen_target(MSP430CommonTableGen) 10 11add_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 25add_llvm_library_dependencies(LLVMMSP430CodeGen 26 LLVMAsmPrinter 27 LLVMCodeGen 28 LLVMCore 29 LLVMMC 30 LLVMMSP430AsmPrinter 31 LLVMMSP430Desc 32 LLVMMSP430Info 33 LLVMSelectionDAG 34 LLVMSupport 35 LLVMTarget 36 ) 37 38add_subdirectory(InstPrinter) 39add_subdirectory(TargetInfo) 40add_subdirectory(MCTargetDesc) 41