forked from emu-russia/breaknes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
126 lines (109 loc) · 3.07 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
cmake_minimum_required (VERSION 3.0)
project (breaknes CXX)
add_definitions (-D_LINUX)
# Main application
set(CMAKE_BUILD_TYPE Release)
set(SDL_SHARED OFF)
set(SDL_STATIC ON)
find_package(SDL2 REQUIRED CONFIG REQUIRED COMPONENTS SDL2)
find_package(SDL2 REQUIRED CONFIG COMPONENTS SDL2main)
add_executable (breaknes
Breaknes/BreaknesSDL/main.cpp
Breaknes/BreaknesSDL/VideoProcessing.cpp
Breaknes/BreaknesSDL/SoundProcessing.cpp
# BreaksCore
Common/BaseLogicLib/BaseLogic.cpp
Common/BaseBoardLib/Fake6502.cpp
Common/BaseBoardLib/LS32.cpp
Common/BaseBoardLib/LS139.cpp
Common/BaseBoardLib/LS161.cpp
Common/BaseBoardLib/LS368.cpp
Common/BaseBoardLib/LS373.cpp
Common/BaseBoardLib/RegDumpProcessor.cpp
Common/BaseBoardLib/SRAM.cpp
#Common/JsonLib/Json.cpp
Chips/APUSim/apu.cpp
Chips/APUSim/clkgen.cpp
Chips/APUSim/common.cpp
Chips/APUSim/core.cpp
Chips/APUSim/dac.cpp
Chips/APUSim/debug.cpp
Chips/APUSim/dma.cpp
Chips/APUSim/dpcm.cpp
Chips/APUSim/env.cpp
Chips/APUSim/length.cpp
Chips/APUSim/noise.cpp
Chips/APUSim/pads.cpp
Chips/APUSim/regs.cpp
Chips/APUSim/square.cpp
Chips/APUSim/triangle.cpp
Chips/PPUSim/bgcol.cpp
Chips/PPUSim/cram.cpp
Chips/PPUSim/dataread.cpp
Chips/PPUSim/debug.cpp
Chips/PPUSim/fifo.cpp
Chips/PPUSim/fsm.cpp
Chips/PPUSim/hv.cpp
Chips/PPUSim/hv_decoder.cpp
Chips/PPUSim/mux.cpp
Chips/PPUSim/oam.cpp
Chips/PPUSim/par.cpp
Chips/PPUSim/patgen.cpp
Chips/PPUSim/pclk.cpp
Chips/PPUSim/ppu.cpp
Chips/PPUSim/regs.cpp
Chips/PPUSim/scroll_regs.cpp
Chips/PPUSim/sprite_eval.cpp
Chips/PPUSim/video_out.cpp
Chips/PPUSim/vram_ctrl.cpp
Chips/M6502Core/address_bus.cpp
Chips/M6502Core/alu.cpp
Chips/M6502Core/alu_control.cpp
Chips/M6502Core/branch_logic.cpp
Chips/M6502Core/bus_control.cpp
Chips/M6502Core/core.cpp
Chips/M6502Core/data_bus.cpp
Chips/M6502Core/debug.cpp
Chips/M6502Core/decoder.cpp
Chips/M6502Core/dispatch.cpp
Chips/M6502Core/extra_counter.cpp
Chips/M6502Core/flags.cpp
Chips/M6502Core/flags_control.cpp
Chips/M6502Core/interrupts.cpp
Chips/M6502Core/ir.cpp
Chips/M6502Core/pc.cpp
Chips/M6502Core/pc_control.cpp
Chips/M6502Core/predecode.cpp
Chips/M6502Core/random_logic.cpp
Chips/M6502Core/regs.cpp
Chips/M6502Core/regs_control.cpp
Mappers/AbstractCartridge.cpp
Mappers/CartridgeFactory.cpp
Mappers/AOROM.cpp
Mappers/NROM.cpp
Mappers/UNROM.cpp
Mappers/MMC1.cpp
Mappers/MMC1_Based.cpp
IO/IO.cpp
IO/DendyController.cpp
IO/FamiController.cpp
IO/NESController.cpp
IO/CD4021.cpp
IO/UM6582.cpp
Breaknes/BreaksCore/AbstractBoard.cpp
Breaknes/BreaksCore/APUPlayerBoard.cpp
Breaknes/BreaksCore/APUPlayerBoardDebug.cpp
Breaknes/BreaksCore/BoardFactory.cpp
Breaknes/BreaksCore/BogusBoard.cpp
Breaknes/BreaksCore/BogusBoardDebug.cpp
Breaknes/BreaksCore/CoreApi.cpp
Breaknes/BreaksCore/DebugHub.cpp
Breaknes/BreaksCore/FamicomBoard.cpp
Breaknes/BreaksCore/NESBoard.cpp
Breaknes/BreaksCore/NESBoardDebug.cpp
Breaknes/BreaksCore/PPUPlayerBoard.cpp
Breaknes/BreaksCore/PPUPlayerBoardDebug.cpp
Breaknes/BreaksCore/SignalDefs.cpp
Breaknes/BreaksCore/RegDumpEmitter.cpp
)
target_link_libraries (breaknes LINK_PUBLIC SDL2)