Simple DirectMedia Layer is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D.
sdl2 provides CMake targets:
find_package(SDL2 CONFIG REQUIRED)
target_link_libraries(main
PRIVATE
$<TARGET_NAME_IF_EXISTS:SDL2::SDL2main>
$<IF:$<TARGET_EXISTS:SDL2::SDL2>,SDL2::SDL2,SDL2::SDL2-static>
)
Support for alsa audio
Build with D-Bus support
Build with ibus IME support
Use libsamplerate for audio rate conversion
Vulkan functionality for SDL
Build with Wayland support
Build with X11 support
v2.32.2#1
All
Zlib
Manifest