cmake-genparsers(1)
β¨ NAME β¨
cmake-genparsers β okay so bestie, imagine a lil tool that parses your cmake listfiles, finds every function and macro declaration in there, and then generates parsers for them. That's it, that's the whole vibe. π
π¦ SYNOPSIS π¦
cmake-genparsers [-h] [-o OUTFILE_PATH] infilepath [infilepath ...]
π DESCRIPTION π
Okay so real talk: it parses cmake listfiles, hunts down the function and macro declarations chillin' inside them, and generates parsers for those declarations. Like, it reads your listfiles so you don't have to. Iconic behavior, no cap. π
π OPTIONS π
infilepathsβ the input file path(s), fr fr. You can hand it one, or a whole little squad of them:infilepath [infilepath ...]. Give it the listfiles, it does the thing. π«Ά-v,--versionβ show the program's version number and exit. It's giving "who am I, here's my number, bye." π-l {error,warning,info,debug},--log-level {error,warning,info,debug}β picks your log level, and your choices are exactlyerror,warning,info, ordebug. That's the list, no extras, don't @ me. π-o OUTFILE_PATH,--outfile-path OUTFILE_PATHβ write the results to this file. The default isstdout, so if you don't say anything it just yells into your terminal. π₯-f {json,yaml,python},--output-format {json,yaml,python}β sets the output format, and your options are exactlyjson,yaml, orpython. Pick your fighter. π
also -h is vibing up in the synopsis but the OPTIONS list never spills the tea on it, so that's genuinely all we got, bestie. π
π AUTHORS π
cmake-genparsers was written by Josh Bialkowski <josh.bialkowski@gmail.com>. Shoutout to the author, absolute main character energy. π
π DISTRIBUTION π
The latest version of cmake-genparsers may be downloaded from:
https://github.com/cheshirekow/cmake_format
Go get it, it's free, it's slay. π§
Sign-off time: this one's a General Commands Manual page for cmake-genparsers, sourced from Manual, and the date slot? Empty. Not a single date in sight, we love an undated icon. Go forth and parse those listfiles, bestie. πβ¨πΈ
π¦ 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