CMake: Builds all targets.
[oota-llvm.git] / lib / Target / ARM / CMakeLists.txt
1 set(LLVM_TARGET_DEFINITIONS ARM.td)
2
3 tablegen(ARMGenRegisterInfo.h.inc -gen-register-desc-header)
4 tablegen(ARMGenRegisterNames.inc -gen-register-enums)
5 tablegen(ARMGenRegisterInfo.inc -gen-register-desc)
6 tablegen(ARMGenInstrNames.inc -gen-instr-enums)
7 tablegen(ARMGenInstrInfo.inc -gen-instr-desc)
8 tablegen(ARMGenCodeEmitter.inc -gen-emitter)
9 tablegen(ARMGenAsmWriter.inc -gen-asm-writer)
10 tablegen(ARMGenDAGISel.inc -gen-dag-isel)
11 tablegen(ARMGenSubtarget.inc -gen-subtarget)
12
13 add_llvm_target(ARM
14   ARMCodeEmitter.cpp
15   ARMConstantIslandPass.cpp
16   ARMConstantPoolValue.cpp
17   ARMInstrInfo.cpp
18   ARMISelDAGToDAG.cpp
19   ARMISelLowering.cpp
20   ARMJITInfo.cpp
21   ARMLoadStoreOptimizer.cpp
22   ARMRegisterInfo.cpp
23   ARMSubtarget.cpp
24   ARMTargetAsmInfo.cpp
25   ARMTargetMachine.cpp
26   )