Skip to content

Add Linter/Formatter for CMake files #1368

@dkroenke

Description

@dkroenke

Brief feature description

Since we have some CMake code to maintain, it make sense to enforce on this code also code quality rules like we do with the C++ code.

A possible tool-framework could be cmakelang which offers tooling for formatting and linting CMake Code properly.
Other suggestions are always welcome.

Detailed information

  • Evaluate and decide on a good tool for Linting/Formatting CMake code
  • Add a pre-commit hook for checking on style issues in CMake code (similar to clang-format)
  • Add a CI check to the pre-flight check for checking all CMake Codes on violations
  • reformat and fix all linting violations in all CMake code in iceoryx

Metadata

Metadata

Assignees

Labels

good first issueGood for newcomerstoolingAll iceoryx related tooling (scripts etc.)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions