forked from PSI-Rockin/DobieStation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
159 lines (151 loc) · 4.31 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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
cmake_minimum_required(VERSION 3.1)
project(DobieStation)
add_subdirectory(ext/libdeflate)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_AUTOMOC ON)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} "-pthread -O2 -ggdb")
find_package(Qt5Core REQUIRED)
find_package(Qt5Widgets REQUIRED)
set(SOURCES
src/core/errors.cpp
src/core/ee/bios_hle.cpp
src/core/ee/cop0.cpp
src/core/ee/cop1.cpp
src/core/ee/dmac.cpp
src/core/ee/emotion.cpp
src/core/ee/emotion_fpu.cpp
src/core/ee/emotion_mmi.cpp
src/core/ee/emotion_special.cpp
src/core/ee/emotionasm.cpp
src/core/ee/emotiondisasm.cpp
src/core/ee/emotioninterpreter.cpp
src/core/ee/emotion_vu0.cpp
src/core/ee/intc.cpp
src/core/ee/ipu/chromtable.cpp
src/core/ee/ipu/codedblockpattern.cpp
src/core/ee/ipu/dct_coeff.cpp
src/core/ee/ipu/dct_coeff_table0.cpp
src/core/ee/ipu/dct_coeff_table1.cpp
src/core/ee/ipu/ipu.cpp
src/core/ee/ipu/ipu_fifo.cpp
src/core/ee/ipu/lumtable.cpp
src/core/ee/ipu/mac_addr_inc.cpp
src/core/ee/ipu/mac_b_pic.cpp
src/core/ee/ipu/mac_i_pic.cpp
src/core/ee/ipu/mac_p_pic.cpp
src/core/ee/ipu/motioncode.cpp
src/core/ee/ipu/vlc_table.cpp
src/core/ee/timers.cpp
src/core/ee/vif.cpp
src/core/ee/vu.cpp
src/core/ee/vu_disasm.cpp
src/core/ee/vu_interpreter.cpp
src/core/ee/vu_jit.cpp
src/core/ee/vu_jit64.cpp
src/core/ee/vu_jittrans.cpp
src/core/iop/cdvd.cpp
src/core/iop/cso_reader.cpp
src/core/iop/gamepad.cpp
src/core/iop/iop.cpp
src/core/iop/iop_cop0.cpp
src/core/iop/iop_dma.cpp
src/core/iop/iop_interpreter.cpp
src/core/iop/iop_timers.cpp
src/core/iop/memcard.cpp
src/core/iop/sio2.cpp
src/core/iop/spu.cpp
src/core/jitcommon/emitter64.cpp
src/core/jitcommon/ir_block.cpp
src/core/jitcommon/ir_instr.cpp
src/core/jitcommon/jitcache.cpp
src/core/tests/iop/alu.cpp
src/core/emulator.cpp
src/core/gif.cpp
src/core/gs.cpp
src/core/gsmem.cpp
src/core/gsthread.cpp
src/core/gsregisters.cpp
src/core/gscontext.cpp
src/core/scheduler.cpp
src/core/serialize.cpp
src/core/sif.cpp
src/qt/emuthread.cpp
src/qt/emuwindow.cpp
src/qt/settingswindow.cpp
src/qt/renderwidget.cpp
src/qt/gamelistwidget.cpp
src/qt/main.cpp
src/qt/settings.cpp
src/qt/bios.cpp
)
set(HEADERS
src/core/errors.hpp
src/core/ee/bios_hle.hpp
src/core/ee/cop0.hpp
src/core/ee/cop1.hpp
src/core/ee/dmac.hpp
src/core/ee/emotion.hpp
src/core/ee/emotionasm.hpp
src/core/ee/emotiondisasm.hpp
src/core/ee/emotioninterpreter.hpp
src/core/ee/intc.hpp
src/core/ee/ipu/chromtable.hpp
src/core/ee/ipu/codedblockpattern.hpp
src/core/ee/ipu/dct_coeff.hpp
src/core/ee/ipu/dct_coeff_table0.hpp
src/core/ee/ipu/dct_coeff_table1.hpp
src/core/ee/ipu/ipu.hpp
src/core/ee/ipu/ipu_fifo.hpp
src/core/ee/ipu/lumtable.hpp
src/core/ee/ipu/mac_addr_inc.hpp
src/core/ee/ipu/mac_b_pic.hpp
src/core/ee/ipu/mac_i_pic.hpp
src/core/ee/ipu/mac_p_pic.hpp
src/core/ee/ipu/motioncode.hpp
src/core/ee/ipu/vlc_table.hpp
src/core/ee/timers.hpp
src/core/ee/vif.hpp
src/core/ee/vu.hpp
src/core/ee/vu_disasm.hpp
src/core/ee/vu_interpreter.hpp
src/core/ee/vu_jit.hpp
src/core/ee/vu_jit64.hpp
src/core/ee/vu_jittrans.hpp
src/core/iop/cdvd.hpp
src/core/iop/cso_reader.hpp
src/core/iop/gamepad.hpp
src/core/iop/iop.hpp
src/core/iop/iop_cop0.hpp
src/core/iop/iop_dma.hpp
src/core/iop/iop_interpreter.hpp
src/core/iop/iop_timers.hpp
src/core/iop/memcard.hpp
src/core/iop/sio2.hpp
src/core/iop/spu.hpp
src/core/jitcommon/emitter64.hpp
src/core/jitcommon/ir_block.hpp
src/core/jitcommon/ir_instr.hpp
src/core/jitcommon/jitcache.hpp
src/core/emulator.hpp
src/core/gif.hpp
src/core/gs.hpp
src/core/gsmem.hpp
src/core/gsthread.hpp
src/core/gsregisters.hpp
src/core/circularFIFO.hpp
src/core/gscontext.hpp
src/core/int128.hpp
src/core/scheduler.hpp
src/core/sif.hpp
src/qt/emuthread.hpp
src/qt/emuwindow.hpp
src/qt/settingswindow.hpp
src/qt/renderwidget.hpp
src/qt/gamelistwidget.hpp
src/qt/settings.hpp
src/qt/bios.hpp
)
add_executable(DobieStation ${SOURCES} ${HEADERS})
target_link_libraries(DobieStation Qt5::Core Qt5::Widgets Ext::libdeflate)
install (TARGETS DobieStation DESTINATION bin)