<div dir="ltr"><div dir="ltr">Note: I have additionally posted this question to stack overflow so if you would like to answer there rather than email it may help a larger audience: <a href="https://stackoverflow.com/questions/54660549/what-is-the-proper-way-to-document-a-cmake-module">https://stackoverflow.com/questions/54660549/what-is-the-proper-way-to-document-a-cmake-module</a><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Feb 12, 2019 at 6:37 PM Timothy Wrona <<a href="mailto:tjwrona1992@gmail.com">tjwrona1992@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><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>
</blockquote></div>