Skip to Content

sdl2 v2.30.9

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

Dependencies:
  • alsa

    Platforms: linux

No transitive dependencies.

Host Dependencies:

No dependencies.

# dbus

Build with D-Bus support

Dependencies:
  • dbus

    Platforms: linux
    Features: (none)

and one transitive dependency:
Host Dependencies:
2 transitive dependencies:

# 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

Dependencies:

No transitive dependencies.

Host Dependencies:
2 transitive dependencies:

# 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

# Host Dependents

No dependents.

# Contributors

  • Alexander Karatarakis's avatar Alexander Karatarakis
  • Ninetainedo's avatar Ninetainedo
  • Robert Schumacher's avatar Robert Schumacher
  • David Ludwig's avatar David Ludwig
  • codicodi's avatar codicodi
  • Mikhail Paulyshka's avatar Mikhail Paulyshka
  • Ted John's avatar Ted John
  • Jason Juang's avatar Jason Juang
  • pastdue's avatar pastdue
  • Jayesh Badwaik's avatar Jayesh Badwaik
  • jdellar's avatar jdellar
  • Jon Spencer's avatar Jon Spencer
  • driver1998's avatar driver1998
  • pravic's avatar pravic
  • Stefano Sinigardi's avatar Stefano Sinigardi
  • Rémy Tassoux's avatar Rémy Tassoux
  • Krisztián Csordás's avatar Krisztián Csordás
  • Mohamed Akram's avatar Mohamed Akram
  • Billy O'Neal's avatar Billy O'Neal
  • Matthew Oliver's avatar Matthew Oliver
  • Jack·Boos·Yu's avatar Jack·Boos·Yu
  • Joakim L. Gilje's avatar Joakim L. Gilje
  • Jesse Farebrother's avatar Jesse Farebrother
  • Long Nguyen's avatar Long Nguyen
  • NancyLi1013's avatar NancyLi1013
  • Kai Pastor's avatar Kai Pastor
  • Sandy's avatar Sandy
  • Thomas1664's avatar Thomas1664
  • Alexander Neumann's avatar Alexander Neumann
  • JonLiu1993's avatar JonLiu1993
  • Nick's avatar Nick
  • Pierre Wendling's avatar Pierre Wendling
  • Oleg Derevenetz's avatar Oleg Derevenetz
  • Pieter-Jan Briers's avatar Pieter-Jan Briers
  • Ada Tufankjian's avatar Ada Tufankjian
  • Lily Wang's avatar Lily Wang
  • Frank's avatar Frank
  • Cheney Wang's avatar Cheney Wang
  • jim wang's avatar jim wang
  • gerard-ryan-immersaview's avatar gerard-ryan-immersaview
  • Alon Regev's avatar Alon Regev
  • Sandy's avatar Sandy
  • Daniel Svensson's avatar Daniel Svensson
  • Kadir's avatar Kadir

# Changelog

and 84 more commits:

# Source