This repository ships a custom integration of
doxygen
intocmake
built on top of the default integration shipped with cmake.While the default integration provides the function
doxygen_add_docs
to 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_DOXYGEN
alongside its source file equivalentGENERATE_DOXYGEN
to control which source files go into documentation,- the function
collect_doxygen_input
to automatically populate the list of sources and include directories passed todoxygen
and- the function
doxygen_add_documentation
replacingdoxygen_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.