-
Notifications
You must be signed in to change notification settings - Fork 7
/
meson.build
70 lines (65 loc) · 1.83 KB
/
meson.build
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
project('corgids', 'cpp', default_options : ['cpp_std=c++11'])
qt5 = import('qt5')
qt5dep = dependency('qt5', modules: ['Core','Gui', 'Widgets'])
src = ['src/main.cpp',
'src/cartridge.cpp',
'src/cp15.cpp',
'src/cpu.cpp',
'src/cpuinstrs.cpp',
'src/dma.cpp',
'src/firmware.cpp',
'src/instrthumb.cpp',
'src/main.cpp',
'src/rtc.cpp',
'src/spi.cpp',
'src/timers.cpp',
'src/emulator.cpp',
'src/emuwindow.cpp',
'src/configwindow.cpp',
'src/config.cpp',
'src/gpu.cpp',
'src/arm9rw.cpp',
'src/arm7rw.cpp',
'src/ipc.cpp',
'src/spu.cpp',
'src/wifi.cpp',
'src/touchscreen.cpp',
'src/debugwindow.cpp',
'src/disasm_arm.cpp',
'src/gpueng.cpp',
'src/gpu3d.cpp',
'src/armtable.cpp',
'src/emuthread.cpp',
'src/bios.cpp']
ui = ['src/configwindow.ui',
'src/debugwindow.ui']
headers = ['src/cartridge.hpp',
'src/cp15.hpp',
'src/cpu.hpp',
'src/cpuinstrs.hpp',
'src/dma.hpp',
'src/emulator.hpp',
'src/firmware.hpp',
'src/instrtable.h',
'src/interrupts.hpp',
'src/memconsts.h',
'src/rtc.hpp',
'src/spi.hpp',
'src/timers.hpp',
'src/emuwindow.hpp',
'src/configwindow.hpp',
'src/config.hpp',
'src/gpu.hpp',
'src/ipc.hpp',
'src/spu.hpp',
'src/wifi.hpp',
'src/touchscreen.hpp',
'src/debugwindow.hpp',
'src/disassembler.hpp',
'src/gpueng.hpp',
'src/gpu3d.hpp',
'src/emuthread.hpp',
'src/bios.hpp']
moc_files = qt5.preprocess(ui_files: ui,
moc_headers: headers)
executable('corgids', src, moc_files, dependencies : qt5dep, install : true)