Next round of MC refactoring. This patch factor MC table instantiations, MC
[oota-llvm.git] / lib / Target / XCore / CMakeLists.txt
1 set(LLVM_TARGET_DEFINITIONS XCore.td)
2
3 tablegen(XCoreGenRegisterInfo.inc -gen-register-info)
4 tablegen(XCoreGenInstrInfo.inc -gen-instr-info)
5 tablegen(XCoreGenAsmWriter.inc -gen-asm-writer)
6 tablegen(XCoreGenDAGISel.inc -gen-dag-isel)
7 tablegen(XCoreGenCallingConv.inc -gen-callingconv)
8 tablegen(XCoreGenSubtargetInfo.inc -gen-subtarget)
9
10 add_llvm_target(XCoreCodeGen
11   XCoreAsmPrinter.cpp
12   XCoreFrameLowering.cpp
13   XCoreInstrInfo.cpp
14   XCoreISelDAGToDAG.cpp
15   XCoreISelLowering.cpp
16   XCoreMCAsmInfo.cpp
17   XCoreRegisterInfo.cpp
18   XCoreSubtarget.cpp
19   XCoreTargetMachine.cpp
20   XCoreTargetObjectFile.cpp
21   XCoreSelectionDAGInfo.cpp
22   )
23
24 add_subdirectory(TargetInfo)
25 add_subdirectory(MCTargetDesc)