sdl-ttf-sys 0.1.3+3.3.0-2eabf8bcdf56a7a9adcb8c3505399d922a6f1007

Alternative bindings for SDL3_ttf using bindgen
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
/// This build script uses `SdlBuilder` from `sdl-build-helper` to manage
/// the CMake build process and linking for SDL_ttf.
use sdl_build_helper::SdlBuilder;

fn main() {
    SdlBuilder::new("SDL3_ttf", "sdl3_ttf", "../submodules/SDL_ttf")
        .with_repo_url("https://github.com/libsdl-org/SDL_ttf")
        .requires_base_sdl(true)
        .with_cmake_option("SDLTTF_SAMPLES", "OFF")
        .build()
        .expect("Failed to build SDL3_ttf");
}