Silence -Wunused-variable in release builds.
[llvm/stm8.git] / lib / Target / XCore / CMakeLists.txt
blob59c7f51cebde07a1ccc84936223bc68383177b73
1 set(LLVM_TARGET_DEFINITIONS XCore.td)
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)
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   )
24 add_subdirectory(TargetInfo)