2023-05-10 08:38:25 +05:30
|
|
|
# Configure static library build
|
|
|
|
set(SDL_SHARED OFF CACHE BOOL "")
|
|
|
|
set(SDL_STATIC ON CACHE BOOL "")
|
2022-09-21 22:06:12 +05:30
|
|
|
|
|
|
|
# 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 "")
|
2023-05-19 19:18:30 +05:30
|
|
|
set(SDL_CPUINFO ON CACHE BOOL "")
|
2022-09-21 22:06:12 +05:30
|
|
|
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)
|