# What type of documentation tool you use in your cmake Files ?

**URL:** <https://discourse.vtk.org/t/what-type-of-documentation-tool-you-use-in-your-cmake-files/7640>\
**Category:** Development\
**Created:** [January 14, 2022, 9:10am UTC](https://discourse.vtk.org/t/what-type-of-documentation-tool-you-use-in-your-cmake-files/7640 "2022-01-14T09:10:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dschiller](https://discourse.vtk.org/user_avatar/discourse.vtk.org/dschiller/32/4543_2.png) [@dschiller](https://discourse.vtk.org/u/dschiller)\
**Post date:** [January 14, 2022, 9:10am UTC](https://discourse.vtk.org/t/what-type-of-documentation-tool-you-use-in-your-cmake-files/7640/1 "2022-01-14T09:10:49Z")

</div>

At [https://gitlab.kitware.com/vtk/vtk/-/blob/master/CMake/vtkModuleGraphviz.cmake#L1-7](https://gitlab.kitware.com/vtk/vtk/-/blob/master/CMake/vtkModuleGraphviz.cmake#L1-7) you are using a documentation style I don’t know. I know about CMinx which uses `#[[[... #]]`. I also tried doxygen but it seems not doable with doxygen. I wonder what you use here.

---

<div class="post-metadata">

**Author:** ![mwestphal](https://discourse.vtk.org/user_avatar/discourse.vtk.org/mwestphal/32/19_2.png) [@mwestphal](https://discourse.vtk.org/u/mwestphal)\
**Post date:** [January 14, 2022, 9:12am UTC](https://discourse.vtk.org/t/what-type-of-documentation-tool-you-use-in-your-cmake-files/7640/2 "2022-01-14T09:12:48Z")

</div>

@ben.boeckel

---

<div class="post-metadata">

**Author:** ![dgobbi](https://discourse.vtk.org/user_avatar/discourse.vtk.org/dgobbi/32/18_2.png) [@dgobbi](https://discourse.vtk.org/u/dgobbi)\
**Post date:** [January 14, 2022, 2:03pm UTC](https://discourse.vtk.org/t/what-type-of-documentation-tool-you-use-in-your-cmake-files/7640/3 "2022-01-14T14:03:14Z")

</div>

Doxygen. The filter [here](https://gitlab.kitware.com/vtk/vtk/-/tree/master/Utilities/Doxygen/filters) is invoked by the [doxyfile](https://gitlab.kitware.com/vtk/vtk/-/blob/master/Utilities/Doxygen/doxyfile.in#L102).

---

<div class="post-metadata">

**Author:** ![ben.boeckel](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.vtk.org/u/ben.boeckel)\
**Post date:** [January 14, 2022, 3:29pm UTC](https://discourse.vtk.org/t/what-type-of-documentation-tool-you-use-in-your-cmake-files/7640/4 "2022-01-14T15:29:20Z")

</div>

Indeed, it is just a crude script that strips out CMake to make it look like K&R C. The documentation renders “well enough” and allows us to cross-reference in the overall documentation too.
