logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

cmake-annotate - Parse cmake listfiles and re-emit them with semantic annotations in HTML.

Author

       Josh Bialkowski
       josh.bialkowski@gmail.com

Description

       Parse cmake listfiles and re-emit them with semantic annotations in HTML.

       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.

       cmake-format can spit out the default configuration for you as starting point for customization. Run with
       `--dump-config [yaml|json|python]`.

       infilepaths

Distribution

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

cmake-annotate                                     2024-10-06                                  CMAKE-ANNOTATE(1)

Name

       cmake-annotate - Parse cmake listfiles and re-emit them with semantic annotations in HTML.

Options

-v, --version
              show program's version number and exit

       -f{page,stub,iframe}, --format{page,stub,iframe}
              whether  to  output  a  standalone  `page` complete with <html></html> tags, or just the annotated
              content

       -oOUTFILE_PATH, --outfile-pathOUTFILE_PATH
              Where to write the formatted file. Default is stdout.

       -cCONFIG_FILE, --config-fileCONFIG_FILE
              path to configuration file

Synopsis

cmake-annotate [-h] [--format {page,stub}] [-o OUTFILE_PATH] [-c CONFIG_FILE] infilepath [infilepath ...]

See Also