sdl2webgpu

An extension for the SDL2 library for using WebGPU native.

Latest version: 2025.04.18

Add to xmake.lua

add_requires("sdl2webgpu 2025.04.18")

Learn how to add and link packages with Xmake →

Information

License
MIT
Recipe updated
2025-09-02T00:54:03.000Z

Platforms

  • linux: x86_64
  • macosx: x86_64, arm64
  • windows: x86, x64

Options

No configurable options.

Versions

  • 2025.04.18

Dependencies

Install with xrepo

Install the package independently of a project and inspect its available configuration.

install

xrepo install "sdl2webgpu 2025.04.18"

show info

xrepo info "sdl2webgpu"

Link a library to your target

Declare the requirement, then attach the library to the target that uses it.

xmake.lua

add_requires("sdl2webgpu 2025.04.18")

target("demo")
    set_kind("binary")
    add_files("src/*.cpp")
    add_packages("sdl2webgpu")

Open a package environment

Open a shell with the environment exported by this package. Use the executable names documented by the package.

enter shell

xrepo env -b "sdl2webgpu 2025.04.18" shell