Story: CMake preset build-tool suffixes
Table of Contents
This page documents a story in Sprint 14. It captures the goal, current status, acceptance criteria, and the tasks that compose it.
Goal
Make every CMake preset name its build tool so users can pick Ninja or Make explicitly.
Status
| Field | Value |
|---|---|
| State | DONE |
| Parent sprint | Sprint 14 |
| Now | Completed 2026-03-10. |
| Waiting on | None. |
| Next | None. |
| Last touched | 2026-03-10 |
Acceptance
- Pattern: {platform}-{compiler}-{buildtype}-{tool}.
- Hidden ninja + make presets centralise generator settings.
- Linux + macOS support both; Windows on Ninja only.
- Automatic parallel-build detection removed.
- Docs + skill files updated.
Tasks
| Task | State | Start | End | Description |
|---|---|---|---|---|
| Add build-tool suffix to CMake presets | DONE | 2026-05-20 | 2026-03-10 | Every preset names its build tool ({platform}-{compiler}-{buildtype}-{tool}); hidden ninja + make presets centralise generator settings (incl. disabling coloured Make output); Linux + macOS support both Ninja + Make; Windows on Ninja only; parallel-build auto-detection removed in favour of env / tool default; docs + skill files updated. |
Decisions
- Explicit suffix everywhere
- even if there's only one tool for a platform, the suffix makes scripts portable.
- Defer parallelism to env / tool default
- removes one moving part from CMakeLists.txt.
Out of scope
- Adding a third build tool — sticking with the two.
See also
None.