This PR adds a '.cmake-format.yaml' file as suggested by @ClausKlein in #47. The rules enforce the style that was generally in use in the .cmake files in the repo and helped highlight places where things were inconsistent. I've added a simple analyze.ps1 that runs cmake-lint across all files in the Git repo, and a Job to the existing CI Workflow that uses analyze.ps1 to enforce the rules at CI- and PR- time.
This PR adds a '.cmake-format.yaml' file as suggested by @ClausKlein in #47. The rules enforce the style that was generally in use in the
.cmake
files in the repo and helped highlight places where things were inconsistent. I've added a simpleanalyze.ps1
that runscmake-lint
across all files in the Git repo, and a Job to the existing CI Workflow that usesanalyze.ps1
to enforce the rules at CI- and PR- time.