-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
30 lines (27 loc) · 899 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
set(LLVM_TARGET_DEFINITIONS C65.td)
tablegen(LLVM C65GenAsmWriter.inc -gen-asm-writer)
tablegen(LLVM C65GenAsmMatcher.inc -gen-asm-matcher)
tablegen(LLVM C65GenCallingConv.inc -gen-callingconv)
tablegen(LLVM C65GenDAGISel.inc -gen-dag-isel)
tablegen(LLVM C65GenMCCodeEmitter.inc -gen-emitter)
tablegen(LLVM C65GenInstrInfo.inc -gen-instr-info)
tablegen(LLVM C65GenRegisterInfo.inc -gen-register-info)
tablegen(LLVM C65GenSubtargetInfo.inc -gen-subtarget)
add_public_tablegen_target(C65CommonTableGen)
add_llvm_target(C65CodeGen
C65AsmPrinter.cpp
C65FrameLowering.cpp
C65InstrInfo.cpp
C65ISelDAGToDAG.cpp
C65ISelLowering.cpp
C65MachineFunctionInfo.cpp
C65RegisterInfo.cpp
C65RegSizeInsert.cpp
C65Subtarget.cpp
C65TargetMachine.cpp
C65ZInstrExpander.cpp
)
add_subdirectory(AsmParser)
add_subdirectory(InstPrinter)
add_subdirectory(MCTargetDesc)
add_subdirectory(TargetInfo)