cmake-annotate(1)
π cmake-annotate β the manual, but make it cute
okay so bestie, this is cmake-annotate, a General Commands Manual situation, and I'm gonna tell you everything about it, no gatekeeping β¨
πΈ NAME πΈ
cmake-annotate β Parse cmake listfiles and re-emit them with semantic annotations in HTML.
like. it reads your cmake files and hands them back to you all dressed up in HTML with little semantic annotations. it's giving glow-up π
β¨ SYNOPSIS β¨
cmake-annotate [-h] [--format {page,stub}] [-o OUTFILE_PATH] [-c
CONFIG_FILE] infilepath [infilepath ...]
π¦ DESCRIPTION π¦
Parse cmake listfiles and re-emit them with semantic annotations in HTML. yes, that's the whole bit, and it ate π«Ά
Some options regarding parsing are configurable by providing a configuration file. The configuration file format is the same as that used by cmake-format, and the same file can be used for both programs. so like, one config file, two programs, shared custody, iconic π
cmake-format can spit out the default configuration for you as starting point for customization. Run with --dump-config [yaml|json|python]. free starter pack fr fr π
π OPTIONS π
infilepathsβ the file(s) you want annotated, bestie. you can pass more than one, they're all invited to the party π-v,--versionβ show program's version number and exit. quick vibe check then it dips βοΈ-f {page,stub,iframe},--format {page,stub,iframe}β whether to output a standalonepagecomplete with<html></html>tags, or just the annotated content. full outfit or just the top? your call πβοΈ-o OUTFILE_PATH,--outfile-path OUTFILE_PATHβ Where to write the formatted file. Default is stdout. if you don't say where, it just yells into your terminal, and honestly? valid π«Ά-c CONFIG_FILE,--config-file CONFIG_FILEβ path to configuration file. point it at your config and let it cook π₯
π AUTHORS π
cmake-annotate was written by Josh Bialkowski <josh.bialkowski@gmail.com>. king behavior, we love to see it π
π DISTRIBUTION π
The latest version of cmake-annotate may be downloaded from
https://github.com/cheshirekow/cmake_format
go get it, it's free, it's fresh, it's yours πΈ
and that's the whole page bestie, every flag, every path, every default, nothing skipped, no cap π
this was cmake-annotate(1) from the General Commands Manual, footer says Manual, date cmake-annotate(1) β mwah, go annotate something pretty πβ¨π¦
π¦ where this page comes from
- debian bookworm: cmake-format 0.6.13-3 Β· GPL-3.0-only
- ubuntu jammy: cmake-format 0.6.13-2 Β· GPL-3.0-only
- ubuntu noble: cmake-format 0.6.13-5 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms