1eafb660303378e73c2f33f109f6e638b1effc43
[oota-llvm.git] / lib / Target / PTX / CMakeLists.txt
1 set(LLVM_TARGET_DEFINITIONS PTX.td)
2
3 tablegen(PTXGenAsmWriter.inc -gen-asm-writer)
4 tablegen(PTXGenCallingConv.inc -gen-callingconv)
5 tablegen(PTXGenDAGISel.inc -gen-dag-isel)
6 tablegen(PTXGenInstrInfo.inc -gen-instr-info)
7 tablegen(PTXGenRegisterInfo.inc -gen-register-info)
8 tablegen(PTXGenSubtargetInfo.inc -gen-subtarget)
9 add_public_tablegen_target(PTXCommonTableGen)
10
11 add_llvm_target(PTXCodeGen
12   PTXAsmPrinter.cpp
13   PTXISelDAGToDAG.cpp
14   PTXISelLowering.cpp
15   PTXInstrInfo.cpp
16   PTXFrameLowering.cpp
17   PTXMCAsmStreamer.cpp
18   PTXMFInfoExtract.cpp
19   PTXRegisterInfo.cpp
20   PTXSubtarget.cpp
21   PTXTargetMachine.cpp
22   )
23
24 add_subdirectory(TargetInfo)
25 add_subdirectory(MCTargetDesc)