> Am 14.02.2019 um 14:53 schrieb Timothy Wrona <tjwrona1...@gmail.com>:
> 
> How does Sphinx know to go parse that ".cmake" file? Does Sphinx recognize 
> the „cmake-module" keyword in a special way and know what to do with it?

it’s from a Sphinx module that you can find the in the CMake sources 
Utilities/Sphinx/cmake.py. Or you can install this file using pip:

> pip install sphinxcontrib-moderncmakedomain

When configuring Sphinx, you have to name the extensions to use in Sphinx's 
configuration file (conf.py) and add the name of the extension 
(sphinxcontrib.moderncmakedomain) to the extensions array.

best regards,

Torsten

Attachment: signature.asc
Description: Message signed with OpenPGP

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake-developers

Reply via email to