cmake-annotate(1)

πŸ“¦
version 0.6.13 Β· 5 versions
, in debian bookworm, ubuntu jammy, ubuntu noble

πŸ’… 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 standalone page complete 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