---
name: "cmake-genparsers"
section: "1"
platform: "linux"
package: "cmake-format"
version: "0.6.13-6"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/cmake-genparsers"
---

# cmake-genparsers(1)

Parse cmake listfiles, find function and macro declarations, and generate parsers for them.

## NAME

cmake-genparsers - Parse cmake listfiles, find function and macro declarations, and generate parsers for them.

## SYNOPSIS

**cmake-genparsers** \[-h\] \[-o OUTFILE\_PATH\] infilepath \[infilepath ...\]

## DESCRIPTION

Parse cmake listfiles, find function and macro declarations, and generate parsers for them.

- **infilepaths**

  ## OPTIONS

- **-v**, **--version**

  show program's version number and exit

- **-l** *{error,warning,info,debug}*, **--log-level** *{error,warning,info,debug}*

  - **-o** *OUTFILE\_PATH*, **--outfile-path** *OUTFILE\_PATH*

  Write results to this file. Default is stdout.

- **-f** *{json,yaml,python}*, **--output-format** *{json,yaml,python}*

  ## AUTHOR

```
Josh Bialkowski
```

```
josh.bialkowski@gmail.com
```

## DISTRIBUTION

The latest version of cmake-genparsers may be downloaded from ⟨https://github.com/cheshirekow/cmake\_format⟩
