sdl2 v2.32.2
- Created
- 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.
# Usage
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>
)
# License
# Supported Platforms
All platforms are supported
# Features
Default features: dbus
, ibus
, wayland
, x11
# alsa
Support for alsa audio
Host Dependencies:
No dependencies.
# dbus
Build with D-Bus support
Host Dependencies:
2 transitive dependencies:
- vcpkg-cmake (by expat )
- vcpkg-cmake-config (by expat )
# ibus
Build with ibus IME support
Supports: linux
- ✅ linux
- ❌
osx - ❌
uwp - ❌
windows
Dependencies:
No dependencies.
Host Dependencies:
No dependencies.
# samplerate
Use libsamplerate for audio rate conversion
Host Dependencies:
2 transitive dependencies:
- vcpkg-cmake (by libsamplerate )
- vcpkg-cmake-config (by libsamplerate )
# vulkan
Vulkan functionality for SDL
Dependencies:
No dependencies.
Host Dependencies:
No dependencies.
# wayland
Build with Wayland support
Supports: linux
- ✅ linux
- ❌
osx - ❌
uwp - ❌
windows
Dependencies:
No dependencies.
Host Dependencies:
No dependencies.
# x11
Build with X11 support
Supports: !windows
- ✅ linux
- ✅ osx
- ✅ uwp
- ❌
windows
Dependencies:
No dependencies.
Host Dependencies:
No dependencies.
# Dependencies
No dependencies.
# Host Dependencies
No transitive dependencies.
# Dependents
- faudio
- ffmpeg (feature
sdl2
) - gamedev-framework
- magnum (feature
sdl2application
) - ogre
- osg (feature
examples
) - pixel
- sdl2-gfx
- sdl2-image
- sdl2-mixer
- sdl2-mixer-ext
- sdl2-net
- sdl2-ttf
- sdl2pp
- smpeg2
- tgui (feature
sdl2
) - vtk (feature
openvr
) - vulkan-sdk-components
- wxwidgets (feature
sound
)
# Host Dependents
No dependents.
# Contributors
Alexander Karatarakis
Ninetainedo
Robert Schumacher
David Ludwig
codicodi
Mikhail Paulyshka
Ted John
Jason Juang
pastdue
Jayesh Badwaik
jdellar
Jon Spencer
driver1998
pravic
Stefano Sinigardi
Rémy Tassoux
Krisztián Csordás
Mohamed Akram
Billy O'Neal
Matthew Oliver
Jack·Boos·Yu
Joakim L. Gilje
Jesse Farebrother
Long Nguyen
NancyLi1013
Kai Pastor
Sandy
Thomas1664
Alexander Neumann
JonLiu1993
Nick
Pierre Wendling
Oleg Derevenetz
Pieter-Jan Briers
Ada Tufankjian
Lily Wang
Frank
Cheney Wang
jim wang
gerard-ryan-immersaview
Alon Regev
Sandy
Daniel Svensson
Kadir
# Changelog
and 90 more commits:
2fbc73e
[sdl2] Fix patches files50cb254
[sdl2] Remove no longer used patch28b25e8
[sdl2] Remove no longer used patchdc41246
[sdl2] Change homepage link to the official sdl websiteb40c89f
[SDL2] Update to 2.0.12 version8bed099
[sdl2] Fix build failure when VCPKG_BUILD_TYPE is set9f9778c
[many ports] Improve behavior on Linux and general cleanup5aa627e
[SDL2] use vcpkg_from_github to enable --heade6c65b9
[sdl2] Use cmake for UWP3d8ba3e
[SDL2] Move SDL2main.lib into manual-link.fbaaf5b
[sdl2] Update to 2.0.798861e3
[sdl2] update to 2.0.626516fe
vcpkg_configure_cmake (and _meson) now embed debug symbols within static libs (/Z7)dc4998b
[sdl2] Prevent exports in static buildda63f33
[sdl2] link to CRT libraries12f8636
[sdl2] bump version704e1ea
[sdl2] make SDL2 use libc48ca773
[sdl2] enable static build31b713c
[vcpkg] Remove all instances of TRIPLET_SYSTEM_NAME; use VCPKG_CMAKE_SYSTEM_NAME instead.f6bbbfd
Update SDL2 port to 2.0.5 (its latest release; up from 2.0.4)cadee66
If portfile is not static-enabled yet, warn and then build dynamic The opposite if portfile is not dynamic enabled1808d46
triplet is now automatically included before portfiles.031a1f5
[SDL2] Mark as not static ready3679955
Introduce SOURCE_PATH to almost all portfiles930d0a7
URL and MIRRORS are now URLSfc26083
Second part of updated portfilesccca198
Initial commit