-
Notifications
You must be signed in to change notification settings - Fork 22
/
SDL2.cmake
207 lines (205 loc) · 8.63 KB
/
SDL2.cmake
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
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
set(SDL2_COMMON_SOURCES
External/SDL/src/atomic/SDL_atomic.c
External/SDL/src/atomic/SDL_spinlock.c
External/SDL/src/audio/dummy/SDL_dummyaudio.c
External/SDL/src/audio/SDL_audio.c
External/SDL/src/audio/SDL_audiocvt.c
External/SDL/src/audio/SDL_audiodev.c
External/SDL/src/audio/SDL_audiotypecvt.c
External/SDL/src/audio/SDL_mixer.c
External/SDL/src/audio/SDL_wave.c
External/SDL/src/audio/SDL_mixer.c
External/SDL/src/cpuinfo/SDL_cpuinfo.c
External/SDL/src/events/SDL_clipboardevents.c
External/SDL/src/events/SDL_displayevents.c
External/SDL/src/events/SDL_dropevents.c
External/SDL/src/events/SDL_events.c
External/SDL/src/events/SDL_gesture.c
External/SDL/src/events/SDL_keyboard.c
External/SDL/src/events/SDL_mouse.c
External/SDL/src/events/SDL_quit.c
External/SDL/src/events/SDL_touch.c
External/SDL/src/events/SDL_windowevents.c
External/SDL/src/file/SDL_rwops.c
External/SDL/src/haptic/SDL_haptic.c
External/SDL/src/hidapi/SDL_hidapi.c
External/SDL/src/joystick/hidapi/SDL_hidapi_gamecube.c
External/SDL/src/joystick/hidapi/SDL_hidapi_luna.c
External/SDL/src/joystick/hidapi/SDL_hidapi_ps4.c
External/SDL/src/joystick/hidapi/SDL_hidapi_ps5.c
External/SDL/src/joystick/hidapi/SDL_hidapi_rumble.c
External/SDL/src/joystick/hidapi/SDL_hidapi_shield.c
External/SDL/src/joystick/hidapi/SDL_hidapi_stadia.c
External/SDL/src/joystick/hidapi/SDL_hidapi_steam.c
External/SDL/src/joystick/hidapi/SDL_hidapi_switch.c
External/SDL/src/joystick/hidapi/SDL_hidapi_xbox360.c
External/SDL/src/joystick/hidapi/SDL_hidapi_xbox360w.c
External/SDL/src/joystick/hidapi/SDL_hidapi_xboxone.c
External/SDL/src/joystick/hidapi/SDL_hidapijoystick.c
External/SDL/src/joystick/virtual/SDL_virtualjoystick.c
External/SDL/src/joystick/controller_type.c
External/SDL/src/joystick/SDL_gamecontroller.c
External/SDL/src/joystick/SDL_joystick.c
External/SDL/src/render/software/SDL_blendfillrect.c
External/SDL/src/render/software/SDL_blendline.c
External/SDL/src/render/software/SDL_blendpoint.c
External/SDL/src/render/software/SDL_drawline.c
External/SDL/src/render/software/SDL_drawpoint.c
External/SDL/src/render/software/SDL_render_sw.c
External/SDL/src/render/software/SDL_rotate.c
External/SDL/src/render/software/SDL_triangle.c
External/SDL/src/render/SDL_render.c
External/SDL/src/render/SDL_yuv_sw.c
External/SDL/src/sensor/dummy/SDL_dummysensor.c
External/SDL/src/sensor/SDL_sensor.c
External/SDL/src/stdlib/SDL_crc32.c
External/SDL/src/stdlib/SDL_getenv.c
External/SDL/src/stdlib/SDL_iconv.c
External/SDL/src/stdlib/SDL_malloc.c
External/SDL/src/stdlib/SDL_memcpy.c
External/SDL/src/stdlib/SDL_memset.c
External/SDL/src/stdlib/SDL_qsort.c
External/SDL/src/stdlib/SDL_stdlib.c
External/SDL/src/stdlib/SDL_string.c
External/SDL/src/stdlib/SDL_strtokr.c
External/SDL/src/thread/SDL_thread.c
External/SDL/src/timer/SDL_timer.c
External/SDL/src/video/dummy/SDL_nullevents.c
External/SDL/src/video/dummy/SDL_nullframebuffer.c
External/SDL/src/video/dummy/SDL_nullvideo.c
External/SDL/src/video/yuv2rgb/yuv_rgb.c
External/SDL/src/video/SDL_blit_0.c
External/SDL/src/video/SDL_blit_1.c
External/SDL/src/video/SDL_blit_A.c
External/SDL/src/video/SDL_blit_auto.c
External/SDL/src/video/SDL_blit_copy.c
External/SDL/src/video/SDL_blit_N.c
External/SDL/src/video/SDL_blit_slow.c
External/SDL/src/video/SDL_blit.c
External/SDL/src/video/SDL_bmp.c
External/SDL/src/video/SDL_clipboard.c
External/SDL/src/video/SDL_egl.c
External/SDL/src/video/SDL_fillrect.c
External/SDL/src/video/SDL_pixels.c
External/SDL/src/video/SDL_rect.c
External/SDL/src/video/SDL_RLEaccel.c
External/SDL/src/video/SDL_shape.c
External/SDL/src/video/SDL_stretch.c
External/SDL/src/video/SDL_surface.c
External/SDL/src/video/SDL_video.c
External/SDL/src/video/SDL_vulkan_utils.c
External/SDL/src/video/SDL_yuv.c
External/SDL/src/SDL_assert.c
External/SDL/src/SDL_dataqueue.c
External/SDL/src/SDL_error.c
External/SDL/src/SDL_guid.c
External/SDL/src/SDL_hints.c
External/SDL/src/SDL_list.c
External/SDL/src/SDL_log.c
External/SDL/src/SDL_utils.c
External/SDL/src/SDL.c
)
set(SDL2_APPLE_SOURCES
External/SDL/src/audio/coreaudio/SDL_coreaudio.m
External/SDL/src/audio/disk/SDL_diskaudio.c
External/SDL/src/filesystem/cocoa/SDL_sysfilesystem.m
External/SDL/src/file/cocoa/SDL_rwopsbundlesupport.m
External/SDL/src/haptic/darwin/SDL_syshaptic.c
External/SDL/src/joystick/darwin/SDL_iokitjoystick.c
External/SDL/src/joystick/iphoneos/SDL_mfijoystick.m
External/SDL/src/loadso/dlopen/SDL_sysloadso.c
External/SDL/src/render/metal/SDL_render_metal.m
External/SDL/src/render/opengles2/SDL_render_gles2.c
External/SDL/src/render/opengles2/SDL_shaders_gles2.c
External/SDL/src/render/opengl/SDL_render_gl.c
External/SDL/src/render/opengl/SDL_shaders_gl.c
External/SDL/src/thread/pthread/SDL_syscond.c
External/SDL/src/thread/pthread/SDL_sysmutex.c
External/SDL/src/thread/pthread/SDL_syssem.c
External/SDL/src/thread/pthread/SDL_systhread.c
External/SDL/src/thread/pthread/SDL_systls.c
External/SDL/src/timer/unix/SDL_systimer.c
External/SDL/src/video/cocoa/SDL_cocoaclipboard.m
External/SDL/src/video/cocoa/SDL_cocoaevents.m
External/SDL/src/video/cocoa/SDL_cocoakeyboard.m
External/SDL/src/video/cocoa/SDL_cocoamessagebox.m
External/SDL/src/video/cocoa/SDL_cocoametalview.m
External/SDL/src/video/cocoa/SDL_cocoamodes.m
External/SDL/src/video/cocoa/SDL_cocoamouse.m
External/SDL/src/video/cocoa/SDL_cocoaopengl.m
External/SDL/src/video/cocoa/SDL_cocoaopengles.m
External/SDL/src/video/cocoa/SDL_cocoashape.m
External/SDL/src/video/cocoa/SDL_cocoavideo.m
External/SDL/src/video/cocoa/SDL_cocoavulkan.m
External/SDL/src/video/cocoa/SDL_cocoawindow.m
)
set(SDL2_WINDOWS_SOURCES
External/SDL/src/audio/directsound/SDL_directsound.c
External/SDL/src/audio/disk/SDL_diskaudio.c
External/SDL/src/audio/wasapi/SDL_wasapi.c
External/SDL/src/audio/wasapi/SDL_wasapi_win32.c
External/SDL/src/audio/winmm/SDL_winmm.c
External/SDL/src/core/windows/SDL_hid.c
External/SDL/src/core/windows/SDL_immdevice.c
External/SDL/src/core/windows/SDL_windows.c
External/SDL/src/core/windows/SDL_xinput.c
External/SDL/src/filesystem/windows/SDL_sysfilesystem.c
External/SDL/src/haptic/windows/SDL_dinputhaptic.c
External/SDL/src/haptic/windows/SDL_windowshaptic.c
External/SDL/src/haptic/windows/SDL_xinputhaptic.c
External/SDL/src/joystick/windows/SDL_dinputjoystick.c
External/SDL/src/joystick/windows/SDL_rawinputjoystick.c
External/SDL/src/joystick/windows/SDL_windows_gaming_input.c
External/SDL/src/joystick/windows/SDL_windowsjoystick.c
External/SDL/src/joystick/windows/SDL_xinputjoystick.c
External/SDL/src/libm/e_atan2.c
External/SDL/src/libm/e_exp.c
External/SDL/src/libm/e_fmod.c
External/SDL/src/libm/e_log.c
External/SDL/src/libm/e_log10.c
External/SDL/src/libm/e_pow.c
External/SDL/src/libm/e_rem_pio2.c
External/SDL/src/libm/e_sqrt.c
External/SDL/src/libm/k_cos.c
External/SDL/src/libm/k_rem_pio2.c
External/SDL/src/libm/k_sin.c
External/SDL/src/libm/k_tan.c
External/SDL/src/libm/s_atan.c
External/SDL/src/libm/s_copysign.c
External/SDL/src/libm/s_cos.c
External/SDL/src/libm/s_fabs.c
External/SDL/src/libm/s_floor.c
External/SDL/src/libm/s_scalbn.c
External/SDL/src/libm/s_sin.c
External/SDL/src/libm/s_tan.c
External/SDL/src/loadso/windows/SDL_sysloadso.c
External/SDL/src/main/windows/SDL_windows_main.c
External/SDL/src/render/direct3d11/SDL_render_d3d11.c
External/SDL/src/render/direct3d11/SDL_shaders_d3d11.c
External/SDL/src/render/direct3d/SDL_render_d3d.c
External/SDL/src/render/direct3d/SDL_shaders_d3d.c
External/SDL/src/render/opengl/SDL_render_gl.c
External/SDL/src/render/opengl/SDL_shaders_gl.c
External/SDL/src/render/SDL_d3dmath.c
External/SDL/src/sensor/windows/SDL_windowssensor.c
External/SDL/src/thread/generic/SDL_syscond.c
External/SDL/src/thread/windows/SDL_syscond_cv.c
External/SDL/src/thread/windows/SDL_sysmutex.c
External/SDL/src/thread/windows/SDL_syssem.c
External/SDL/src/thread/windows/SDL_systhread.c
External/SDL/src/thread/windows/SDL_systls.c
External/SDL/src/timer/windows/SDL_systimer.c
External/SDL/src/video/windows/SDL_windowsclipboard.c
External/SDL/src/video/windows/SDL_windowsevents.c
External/SDL/src/video/windows/SDL_windowsframebuffer.c
External/SDL/src/video/windows/SDL_windowskeyboard.c
External/SDL/src/video/windows/SDL_windowsmessagebox.c
External/SDL/src/video/windows/SDL_windowsmodes.c
External/SDL/src/video/windows/SDL_windowsmouse.c
External/SDL/src/video/windows/SDL_windowsopengl.c
External/SDL/src/video/windows/SDL_windowsopengles.c
External/SDL/src/video/windows/SDL_windowsshape.c
External/SDL/src/video/windows/SDL_windowsvideo.c
External/SDL/src/video/windows/SDL_windowsvulkan.c
External/SDL/src/video/windows/SDL_windowswindow.c
)