Richard Ward ba39480e82 build pipeline
2025-12-18 19:58:24 +00:00
2025-12-18 19:58:24 +00:00
2025-12-18 18:29:33 +00:00
2025-12-18 19:58:24 +00:00
2025-12-18 18:05:14 +00:00
2025-12-18 19:19:56 +00:00
2025-12-18 19:30:38 +00:00
2025-12-18 19:45:45 +00:00
2025-12-18 19:45:45 +00:00
2025-12-18 19:30:38 +00:00
2025-12-18 17:17:23 +00:00
2025-12-18 19:45:45 +00:00

SDL3CPlusPlus

A minimal SDL3 + Vulkan spinning cube demo.

Build

  1. Install SDL3 development headers for your platform (e.g., libsdl3-dev on Debian/Ubuntu or the SDK from libsdl.org).
  2. Install or update Conan 2.x and run
    conan install . --install-folder build --build=missing
    
    so that Conan brings in lua and the Vulkan loader + headers.
  3. Configure the project with CMake using the generated Conan toolchain:
    cmake -B build -S .
    
  4. Build the demo:
    cmake --build build
    

Vendor SDL3/Vulkan from source

If you cannot install the SDL3/Vulkan headers via the distro packages, run the helper to download and build them into vendor/install:

python3 scripts/setup_vendor_dependencies.py
cmake -S . -B build -DBUILD_SDL3_APP=ON -DCMAKE_BUILD_TYPE=Release
cmake --build build

Shaders are copied into build/shaders during configuration, so the demo can load the precompiled cube.{vert,frag}.spv.

Run

cmake --build build --target spinning_cube
./build/spinning_cube

If you need the Conan runtime environment (e.g., because dependencies set env vars), source build/conanrun.sh before launching the binary on Linux/macOS or run build\\conanrun.bat on Windows.

Description
No description provided
Readme MIT 219 MiB
Languages
C++ 67.8%
C 27.7%
Python 0.8%
Lua 0.8%
Yacc 0.6%
Other 1.9%