CMake
Ready22 lint rules
Each bar is measured on real-world code against the default rule set of the reference tool; the tick marks 85%. Ready means the first tool of each column is at least 85%; the others are shown for reference. How CMake is measured.
Parity
Section titled “Parity”Format
Lint
| Task | Compared with | Sudsy speed | Time (Sudsy / tool) | Peak memory (Sudsy / tool) |
|---|---|---|---|---|
| Format | gersemi | 2.3× slower | 0.69 s / 0.30 s | 356 / 49 MB |
| Lint | cmake-lint | 48× faster | 1.45 s / 69.22 s | 557 / 42 MB |
Presets
Section titled “Presets”A preset is an ordinary sudsy.yaml; use one with extends.
cmake/cmake-lint:extends: [preset:cmake/cmake-lint]
22 lint rules apply to CMake: browse them.