build/CMake: Finish removal of add_llvm_library_dependencies.
[oota-llvm.git] / lib / Target / PTX / CMakeLists.txt
1 set(LLVM_TARGET_DEFINITIONS PTX.td)
2
3 tablegen(LLVM PTXGenAsmWriter.inc -gen-asm-writer)
4 tablegen(LLVM PTXGenDAGISel.inc -gen-dag-isel)
5 tablegen(LLVM PTXGenInstrInfo.inc -gen-instr-info)
6 tablegen(LLVM PTXGenRegisterInfo.inc -gen-register-info)
7 tablegen(LLVM PTXGenSubtargetInfo.inc -gen-subtarget)
8 add_public_tablegen_target(PTXCommonTableGen)
9
10 add_llvm_target(PTXCodeGen
11   PTXAsmPrinter.cpp
12   PTXISelDAGToDAG.cpp
13   PTXISelLowering.cpp
14   PTXInstrInfo.cpp
15   PTXFPRoundingModePass.cpp
16   PTXFrameLowering.cpp
17   PTXMCAsmStreamer.cpp
18   PTXMCInstLower.cpp
19   PTXMFInfoExtract.cpp
20   PTXParamManager.cpp
21   PTXRegAlloc.cpp
22   PTXRegisterInfo.cpp
23   PTXSelectionDAGInfo.cpp
24   PTXSubtarget.cpp
25   PTXTargetMachine.cpp
26   )
27
28 add_subdirectory(TargetInfo)
29 add_subdirectory(InstPrinter)
30 add_subdirectory(MCTargetDesc)
31