cmake-lint
« Back to VersTracker
Description:
Static code checker for CMake files
Type: Formula  |  Latest Version: 1.4.3@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: cmake linter static-analysis build-system developer-tools
Install: brew install cmake-lint
About:
cmake-lint is a static analysis tool that checks CMake source files for style violations, common mistakes, and deviations from best practices. It helps teams enforce consistent formatting and identify potential issues early in the development cycle. This improves code quality and maintainability of CMake-based build systems.
Key Features:
  • Enforces CMake coding style and conventions
  • Detects common errors and anti-patterns
  • Highly configurable via configuration files
  • Integrates easily into CI/CD pipelines
Use Cases:
  • Validating CMake scripts in pull requests
  • Migrating legacy CMake code to modern standards
  • Enforcing team-wide style guidelines
Alternatives:
  • cmake-format – cmake-format focuses primarily on automatic code formatting, whereas cmake-lint is a linter focused on style checking and error detection.
License: Apache-2.0
Dependencies: python@3.14
Bottles available for: all
Version History
Detected Version Rev Change Commit
Oct 11, 2025 1:07am 0 VERSION_BUMP fd4df6d4
Nov 20, 2024 3:04am 0 VERSION_BUMP 0e2f5d1c