[CMake] Syntax to document cmake files, functions and macros

Torsten Robitzki Torsten at Robitzki.de
Fri Feb 1 02:09:24 EST 2019



> Am 31.01.2019 um 19:55 schrieb Marc Herbert <marc.herbert at gmail.com>:
> 
> So is there a relatively simple way to run the same tooling on any regular, non-module .cmake files
> too and produce project-specific documentation?

We are working on a larger CMake project and we use Sphinx. We use sphinxcontrib.moderncmakedomain as extension, which adds CMake syntax highlighting and sphinx.ext.intersphinx to allow us, to refer to the original CMake documentation.

regards,

Torsten
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <https://cmake.org/pipermail/cmake/attachments/20190201/128b3b2a/attachment.sig>


More information about the CMake mailing list