Skip to main content

Crate sdl_build_helper

Crate sdl_build_helper 

Source
Expand description

§SDL Build Helper

A utility crate for managing the build process of SDL3 and its satellite libraries.

This crate provides SdlBuilder, which uses the Typestate pattern to ensure correct configuration before attempting a build. It supports building from source via CMake, using pkg-config, vcpkg, or standard system linkage.

Structs§

Init
Initial state: mandatory fields are being set.
Ready
Ready state: configuration is complete, and .build() can be called.
SdlBuilder
A builder for SDL3 and satellite libraries using the Typestate pattern.

Enums§

BuildError
Errors that can occur during the SDL build process.

Traits§

BuilderState
Marker trait for SdlBuilder states.