Add ARM Disassembler to the CMake build.
[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(ARMGenAsmMatcher.inc -gen-asm-matcher)
11 tablegen(ARMGenDAGISel.inc -gen-dag-isel)
12 tablegen(ARMGenFastISel.inc -gen-fast-isel)
13 tablegen(ARMGenCallingConv.inc -gen-callingconv)
14 tablegen(ARMGenSubtarget.inc -gen-subtarget)
15 tablegen(ARMGenEDInfo.inc -gen-enhanced-disassembly-info)
16 tablegen(ARMGenDecoderTables.inc -gen-arm-decoder)
17
18 add_llvm_target(ARMCodeGen
19   ARMAsmPrinter.cpp
20   ARMBaseInstrInfo.cpp
21   ARMBaseRegisterInfo.cpp
22   ARMCodeEmitter.cpp
23   ARMConstantIslandPass.cpp
24   ARMConstantPoolValue.cpp
25   ARMELFWriterInfo.cpp
26   ARMExpandPseudoInsts.cpp
27   ARMFastISel.cpp
28   ARMGlobalMerge.cpp
29   ARMISelDAGToDAG.cpp
30   ARMISelLowering.cpp
31   ARMInstrInfo.cpp
32   ARMJITInfo.cpp
33   ARMMCCodeEmitter.cpp
34   ARMLoadStoreOptimizer.cpp
35   ARMMCAsmInfo.cpp
36   ARMMCInstLower.cpp
37   ARMRegisterInfo.cpp
38   ARMSelectionDAGInfo.cpp
39   ARMSubtarget.cpp
40   ARMTargetMachine.cpp
41   ARMTargetObjectFile.cpp
42   NEONMoveFix.cpp
43   Thumb1InstrInfo.cpp
44   Thumb1RegisterInfo.cpp
45   Thumb2HazardRecognizer.cpp
46   Thumb2ITBlockPass.cpp
47   Thumb2InstrInfo.cpp
48   Thumb2RegisterInfo.cpp
49   Thumb2SizeReduction.cpp
50   )
51
52 target_link_libraries (LLVMARMCodeGen LLVMARMAsmPrinter LLVMSelectionDAG)