Providing the structure of your custom commands will help cmake-format toīreak them up in a pleasant way, and will help cmake-lint detect improperĪn example short configuration file in python format is: # - # Options effecting formatting. Path to configuration file(s) ConfigurationĬmake-format accepts configuration files in yaml, json, or python format.Īn example configuration file is given in the online documentation. c CONFIG_FILES, -config-files CONFIG_FILES Suppress the file title decoration and summary no-default When used with -dump-config, will omit any unmodified no-help When used with -dump-config, will omit helptext o OUTFILE_PATH, -outfile-path OUTFILE_PATH If specified, print the default configuration to You can add cmake-format to your pre-commit configuration Or see the online documentation for additional options. Install from pypi using pip: pip install cmakelang More structured format (either JSON or XML). The cmake-format project provides Quality Assurance (QA) toolsĬmake-annotate can generate pretty HTML from your listfilesĬmake-format can format your listfiles nicely so that they don’tĬmake-lint can check your listfiles for problemsĬtest-to can parse a ctest output tree and translate it into a
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |