VS Code CMake-Lint

Scan CMake files for lint.


Project maintained by brobeson Hosted on GitHub Pages — Theme by mattgraham

Getting Started

  1. Install cmake-lint on your system. The executable must be in your PATH.
  2. Install the extension through the VS Code marketplace.

Running CMake-Lint

VS Code CMake-Lint scans all of your CMake files when you open your project or when you save your cmake-lint configuration file. It also scans an individual CMake file when you save the file. If you need to manually scan your project or the active file, you can run one of these commands.

Viewing Output

VS Code CMake lint reports issues as warnings in the Problems view. It also highlights offending lines with warning squiggles in the text editor.