sdl3v3.4.16
- Updated
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.
- Project website: https://www.libsdl.org
#Usage
sdl3 provides CMake targets:
find_package(SDL3 CONFIG REQUIRED)
target_link_libraries(main PRIVATE SDL3::SDL3)#License
Zlib AND MIT AND Apache-2.0 AND BSD-3-Clause
#Features
Default features: ibus, wayland, x11
#alsa
Support for alsa audio
Host Dependencies:
3 transitive dependencies:
- vcpkg-cmake (through vcpkg-cmake-get-vars)
- vcpkg-cmake-get-vars (through vcpkg-make)
- vcpkg-make (through alsa)
#dbus
Build with D-Bus support
Host Dependencies:
2 transitive dependencies:
- vcpkg-cmake (through expat)
- vcpkg-cmake-config (through expat)
#emscripten-pthreads
Build Emscripten pthreads support
Platforms: emscripten
- ❌
linux - ❌
osx - ❌
windows
Dependencies:
No dependencies.
Host Dependencies:
No dependencies.
#ibus
Build with ibus IME support
Platforms: linux
- ✅linux
- ❌
osx - ❌
windows
Dependencies:
sdl3
Features:
dbus
Host Dependencies:
2 transitive dependencies:
- vcpkg-cmake (through expat)
- vcpkg-cmake-config (through expat)
#libusb
Use libusb for joystick support
Host Dependencies:
7 transitive dependencies:
- pkgconf (through vcpkg-pkgconfig-get-modules)
- vcpkg-cmake (through vcpkg-cmake-get-vars)
- vcpkg-cmake-get-vars (through vcpkg-make)
vcpkg-make (through libusb)
Platforms:
!windows | mingwvcpkg-msbuild (through libusb)
Platforms:
windows & !mingw- vcpkg-pkgconfig-get-modules (through vcpkg-msbuild)
- vcpkg-tool-meson (through pkgconf)
#wayland
Build with Wayland support
Platforms: linux
- ✅linux
- ❌
osx - ❌
windows
Dependencies:
No dependencies.
Host Dependencies:
No dependencies.
#x11
Build with X11 support
Platforms: !windows
- ✅linux
- ✅osx
- ❌
windows
Dependencies:
No dependencies.
Host Dependencies:
No dependencies.
#Dependencies
No dependencies.
#Used By
- faudio
- imgui (feature
sdl3-binding) - imgui (feature
sdl3-renderer-binding) - imgui (feature
sdlgpu3-binding) - libtcod (feature
sdl) - sdl3 (feature
ibus) - sdl3-image
- sdl3-mixer
- sdl3-net
- sdl3-shadercross
- sdl3-ttf
- tgui (feature
sdl3)
#Host Tool For
No ports use this.
#Contributors
Ada Tufankjian
Kai Pastor
Sebastian Schäfer
kida22
Konstantin Podsvirov
Rémy Tassoux
Mateusz
toge
CQ_Undefine
Kadir
pastdue
Charles Dang
Timothy Pearson
Rafael Kitover
Chase Knowlden