<div dir="ltr">A quick Google search (...actually many rather extensive Google searches) have not been able to explain how to properly document a CMake module.<div><br></div><div>What I'm looking for is a way to document custom CMake modules so that they work with the "cmake --help-module <module_name>" command. Is there any standard way of doing this? Can anyone point me to some good examples? The documentation process seems oddly.... not well documented. Haha.</div><div><br></div><div>How are modules that work with "cmake --help-module" documented?</div><div><br></div><div>Any help is appreciated.</div><div><br></div><div>Thanks,</div><div>Tim</div></div>