build

star 1

Build the project. Use to build, compile, test, or run the project.

SRombauts By SRombauts schedule Updated 5/9/2026

name: build description: Build the project. Use to build, compile, test, or run the project.

Build

Use build scripts from scripts/. They are thin CMake wrappers that produce an out-of-source build under build/. Default configuration is Debug.

Windows (default: Visual Studio)

From PowerShell at the repo root:

scripts\build.ps1

Useful flags: -Config Release, -Clean, -Generator Ninja, -ConfigureOnly.

From cmd.exe use the wrapper: scripts\build.cmd.

Resulting executable: build\Debug\pong-sdl3-cpp.exe (or build\Release\... for Release).

Linux / macOS

./scripts/build.sh

Useful flags: --config Release, --clean, --generator Ninja, --configure-only, --help.

Resulting executable: build/pong-sdl3-cpp.

Rules

  • Do not invent custom build commands; call scripts/build.ps1 or scripts/build.sh.
  • A non-zero exit code means the build failed; surface the error rather than retrying blindly.
  • Plain cmake -S . -B build && cmake --build build is an acceptable fallback if the scripts are unavailable.
Install via CLI
npx skills add https://github.com/SRombauts/pong-sdl3-cpp --skill build
Repository Details
star Stars 1
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator