This repository ships a custom integration of
doxygenintocmakebuilt on top of the default integration shipped with cmake.While the default integration provides the function
doxygen_add_docsto set up a target dedicated to documentation, it does not provide any means to collectdoxygen's input automatically. This forces the developer into having to manually specify and maintain a list of sources going into documentation as well as a list of include directories to be stripped bydoxygen. Apart from the maintainance overhead, this also leads to redundancies: after all, the set of source files and include directories are already known tocmake, so there should be a way of leveraging this information when specifyingdoxygen's input.To automate the process of collecting
doxygen's input, this repository ships
- the custom target property
GENERATE_DOXYGENalongside its source file equivalentGENERATE_DOXYGENto control which source files go into documentation,- the function
collect_doxygen_inputto automatically populate the list of sources and include directories passed todoxygenand- the function
doxygen_add_documentationreplacingdoxygen_add_docs(it’s almost a drop-in-replacement).
-- the docs
For details on using this repository (alongside a Getting Started guide), please head over to GitHub Pages.
Licensed under BSD 3-Clause License.