Skip to main content

build

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

Source facts

Repository
SRombauts/pong-sdl3-cpp
Last source activity
May 9, 2026 at 14:53
Detected SKILL.md language
English
Stars
0
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
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: ```powershell 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 ```bash ./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.
View on GitHub