CMake: Builds all targets.
[oota-llvm.git] / lib / Target / CellSPU / CMakeLists.txt
1 set(LLVM_TARGET_DEFINITIONS SPU.td)
2
3 tablegen(SPUGenInstrNames.inc -gen-instr-enums)
4 tablegen(SPUGenRegisterNames.inc -gen-register-enums)
5 tablegen(SPUGenAsmWriter.inc -gen-asm-writer)
6 tablegen(SPUGenCodeEmitter.inc -gen-emitter)
7 tablegen(SPUGenRegisterInfo.h.inc -gen-register-desc-header)
8 tablegen(SPUGenRegisterInfo.inc -gen-register-desc)
9 tablegen(SPUGenInstrInfo.inc -gen-instr-desc)
10 tablegen(SPUGenDAGISel.inc -gen-dag-isel)
11 tablegen(SPUGenSubtarget.inc -gen-subtarget)
12 tablegen(SPUGenCallingConv.inc -gen-callingconv)
13
14 add_llvm_target(CellSPU
15   SPUAsmPrinter.cpp
16   SPUFrameInfo.cpp
17   SPUHazardRecognizers.cpp
18   SPUInstrInfo.cpp
19   SPUISelDAGToDAG.cpp
20   SPUISelLowering.cpp
21   SPURegisterInfo.cpp
22   SPUSubtarget.cpp
23   SPUTargetAsmInfo.cpp
24   SPUTargetMachine.cpp
25   )