mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 05:32:25 +00:00
4afa2b842b
backend. Moved some MCAsmInfo files down into the MCTargetDesc sublibraries, removed some (i suspect long) dead files from other parts of the CMake build, etc. Also copied the include directory hack from the Makefile. Finally, updated the lib deps. I spot checked this, and think its correct, but review appreciated there. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135234 91177308-0d34-0410-b5e6-96231b3b80d8
25 lines
672 B
CMake
25 lines
672 B
CMake
set(LLVM_TARGET_DEFINITIONS XCore.td)
|
|
|
|
tablegen(XCoreGenRegisterInfo.inc -gen-register-info)
|
|
tablegen(XCoreGenInstrInfo.inc -gen-instr-info)
|
|
tablegen(XCoreGenAsmWriter.inc -gen-asm-writer)
|
|
tablegen(XCoreGenDAGISel.inc -gen-dag-isel)
|
|
tablegen(XCoreGenCallingConv.inc -gen-callingconv)
|
|
tablegen(XCoreGenSubtargetInfo.inc -gen-subtarget)
|
|
|
|
add_llvm_target(XCoreCodeGen
|
|
XCoreAsmPrinter.cpp
|
|
XCoreFrameLowering.cpp
|
|
XCoreInstrInfo.cpp
|
|
XCoreISelDAGToDAG.cpp
|
|
XCoreISelLowering.cpp
|
|
XCoreRegisterInfo.cpp
|
|
XCoreSubtarget.cpp
|
|
XCoreTargetMachine.cpp
|
|
XCoreTargetObjectFile.cpp
|
|
XCoreSelectionDAGInfo.cpp
|
|
)
|
|
|
|
add_subdirectory(TargetInfo)
|
|
add_subdirectory(MCTargetDesc)
|