-
Notifications
You must be signed in to change notification settings - Fork 3
/
CMakeLists.txt
97 lines (81 loc) · 1.69 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
cmake_minimum_required(VERSION 3.13)
project(MY-RP6502-PROJECT C ASM)
add_subdirectory(tools)
add_executable(affine)
rp6502_executable(affine)
target_sources(affine PRIVATE
src/affine.c
)
add_executable(altair)
rp6502_asset(altair 0x10000 src/altair.pal.bin)
rp6502_asset(altair 0x10200 src/altair.dat.bin)
rp6502_executable(altair
${CMAKE_CURRENT_LIST_DIR}/src/altair.hlp.rp6502
altair.pal.bin.rp6502
altair.dat.bin.rp6502
)
target_sources(altair PRIVATE
src/altair.c
)
add_executable(gets)
rp6502_executable(gets)
target_sources(gets PRIVATE
src/gets.c
)
add_executable(furelise)
rp6502_executable(furelise)
target_sources(furelise PRIVATE
src/furelise.c
src/ezpsg.c
)
add_executable(gamepad)
rp6502_executable(gamepad)
target_sources(gamepad PRIVATE
src/gamepad.c
)
add_executable(mandelbrot)
rp6502_executable(mandelbrot)
target_sources(mandelbrot PRIVATE
src/mandelbrot.c
)
add_executable(mode1)
rp6502_executable(mode1)
target_sources(mode1 PRIVATE
src/mode1.c
)
add_executable(mode2)
rp6502_executable(mode2)
target_sources(mode2 PRIVATE
src/mode2.c
)
add_executable(mode3)
rp6502_executable(mode3)
target_sources(mode3 PRIVATE
src/mode3.c
)
add_executable(paint)
rp6502_executable(paint)
target_sources(paint PRIVATE
src/paint.c
)
add_executable(palette)
rp6502_executable(palette)
target_sources(palette PRIVATE
src/palette.c
)
add_executable(poprock)
rp6502_executable(poprock)
target_sources(poprock PRIVATE
src/poprock.c
src/ezpsg.c
)
add_executable(raspberry)
rp6502_executable(raspberry)
target_sources(raspberry PRIVATE
src/raspberry.c
)
add_executable(vsync)
rp6502_executable(vsync)
target_sources(vsync PRIVATE
src/vsync.c
)