[CMake] Is there a way to produce the documentation of cmake in xml format?

Martin Weber fifteenknots505 at gmail.com
Thu Jun 8 15:19:56 EDT 2017


Am Mittwoch, 7. Juni 2017, 22:35:51 CEST schrieb Nils Gladitz:
> On 07.06.2017 21:23, Martin Weber wrote:
> > Hi all,
> > 
> > is there a way to extract the documentation from cmake-sources and convert
> > that to XML?
...

> CMake uses the Sphinx documentation system:
> 
>      http://www.sphinx-doc.org
> 
> 
> One of the supported builders is "xml" (Docutils-native XML).
> 
> 
> Assuming you've installed sphinx and enabled e.g. SPHINX_HTML
> (-DSPHINX_HTML=ON) you could try a verbose build of the "documentation"
> target to see how a sphinx-build invocation looks like.
> 
> To change the builder modify the argument after the -b option (e.g.
> replace "html" with "xml").

Thanks, Nils, that help a lot!

Martin


-- 
Cd wrttn wtht vwls s mch trsr.




More information about the CMake mailing list