mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-30 13:24:16 +01:00
53 lines
1.6 KiB
CMake
53 lines
1.6 KiB
CMake
|
# Disable building the stuff we don't need.
|
||
|
set(SDL_DISKAUDIO OFF CACHE BOOL "")
|
||
|
set(SDL_OPENGL ON CACHE BOOL "")
|
||
|
set(SDL_OPENGLES ON CACHE BOOL "")
|
||
|
set(SDL_OSS OFF CACHE BOOL "")
|
||
|
set(SDL_ALSA OFF CACHE BOOL "")
|
||
|
set(SDL_JACK OFF CACHE BOOL "")
|
||
|
set(SDL_ESD OFF CACHE BOOL "")
|
||
|
set(SDL_PIPEWIRE OFF CACHE BOOL "")
|
||
|
set(SDL_PULSEAUDIO OFF CACHE BOOL "")
|
||
|
set(SDL_ARTS OFF CACHE BOOL "")
|
||
|
set(SDL_NAS OFF CACHE BOOL "")
|
||
|
set(SDL_SNDIO OFF CACHE BOOL "")
|
||
|
set(SDL_FUSIONSOUND OFF CACHE BOOL "")
|
||
|
set(SDL_LIBSAMPLERATE OFF CACHE BOOL "")
|
||
|
set(SDL_X11 OFF CACHE BOOL "")
|
||
|
set(SDL_WAYLAND OFF CACHE BOOL "")
|
||
|
set(SDL_RPI OFF CACHE BOOL "")
|
||
|
set(SDL_COCOA ON CACHE BOOL "")
|
||
|
set(SDL_DIRECTX OFF CACHE BOOL "")
|
||
|
set(SDL_WASAPI OFF CACHE BOOL "")
|
||
|
set(SDL_RENDER_D3D OFF CACHE BOOL "")
|
||
|
set(SDL_RENDER_METAL OFF CACHE BOOL "")
|
||
|
set(SDL_VIVANTE OFF CACHE BOOL "")
|
||
|
set(SDL_VULKAN OFF CACHE BOOL "")
|
||
|
set(SDL_METAL OFF CACHE BOOL "")
|
||
|
set(SDL_KMSDRM OFF CACHE BOOL "")
|
||
|
set(SDL_OFFSCREEN OFF CACHE BOOL "")
|
||
|
set(SDL_SHARED ON CACHE BOOL "")
|
||
|
set(SDL_STATIC OFF CACHE BOOL "")
|
||
|
|
||
|
# Subsystems
|
||
|
set(SDL_ATOMIC ON CACHE BOOL "")
|
||
|
set(SDL_AUDIO ON CACHE BOOL "")
|
||
|
set(SDL_VIDEO ON CACHE BOOL "")
|
||
|
set(SDL_RENDER OFF CACHE BOOL "")
|
||
|
set(SDL_EVENTS ON CACHE BOOL "")
|
||
|
set(SDL_JOYSTICK ON CACHE BOOL "")
|
||
|
set(SDL_HAPTIC OFF CACHE BOOL "")
|
||
|
set(SDL_HIDAPI ON CACHE BOOL "")
|
||
|
set(SDL_POWER OFF CACHE BOOL "")
|
||
|
set(SDL_THREADS ON CACHE BOOL "")
|
||
|
set(SDL_TIMERS ON CACHE BOOL "")
|
||
|
set(SDL_FILE ON CACHE BOOL "")
|
||
|
set(SDL_LOADSO ON CACHE BOOL "")
|
||
|
set(SDL_CPUINFO OFF CACHE BOOL "")
|
||
|
set(SDL_FILESYSTEM OFF CACHE BOOL "")
|
||
|
set(SDL_DLOPEN ON CACHE BOOL "")
|
||
|
set(SDL_SENSOR OFF CACHE BOOL "")
|
||
|
set(SDL_LOCALE OFF CACHE BOOL "")
|
||
|
|
||
|
add_subdirectory(SDL)
|