cmake-genparsers(1)

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

Section 1 cmake-format bookworm source

Description

cmake-genparsers

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.

OPTIONS

infilepaths
-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}

AUTHORS

cmake-genparsers was written by Josh Bialkowski <josh.bialkowski@gmail.com>.

DISTRIBUTION

The latest version of cmake-genparsers may be downloaded from https://github.com/cheshirekow/cmake_format