/3rd_party/llvm/lib/Target/MSP430/CMakeLists.txt

https://code.google.com/p/softart/ · CMake · 30 lines · 26 code · 4 blank · 0 comment · 0 complexity · e3e1c3ce259016f72fcd71989b5f1c12 MD5 · raw file

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