-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmeson.build
38 lines (32 loc) · 867 Bytes
/
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
project('c64', 'c')
src = [
'emulation/cpu.c',
'emulation/cpu_instr.c',
'emulation/cpu_port.c',
'emulation/cia.c',
'emulation/cia_timer.c',
'emulation/cia1.c',
'emulation/cia2.c',
'emulation/keyboard.c',
'emulation/mem.c',
'emulation/pla.c',
'emulation/sid.c',
'emulation/vic.c',
'emulation/vic_palette.c',
'emulation/basic.c',
'emulation/kernal.c',
'emulation/c64.c',
'infrastructure/commandline.c',
'infrastructure/command.c',
'infrastructure/trace.c',
'ui/sdl_c64.c',
'ui/ncurses_c64.c',
'ui/snapshot.c',
'main.c',
]
inc = include_directories('emulation', 'infrastructure', 'ui')
sdl_dep = dependency('sdl2')
executable('c64', src, dependencies: [sdl_dep], link_args: [
'-lmenu', '-lncurses', '-lpng', '-lreadline'],
include_directories: inc)
subdir('test')