- Python 97.5%
- CMake 2.5%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| bin | ||
| cmake | ||
| .gitignore | ||
| CMakeLists.txt | ||
| LICENSE | ||
| package.xml | ||
| README.md | ||
| setup.py | ||
doxygen_catkin
This package provides an easy cmake function for creating a Doxygen documentation target using catkin.
add_doxygen()
This function will find Doxygen and and create a documentation target. To use it, simply add the add_doxygen() to your CMakeLists.txt file. This requires that you have a Doxyfile.in and mainpage.dox in the root directory of your package (see doxygen-catkin-filegen below). Documentation will then be produced in devel/share/${package_name}/doc.
There are two keyword arguments to the add_doxygen() funciton:
REQUIRED-- This will cause a failure if Doxygen is not found by cmake. If this is not added, failing to find Doxygen will simply mean that no documentation is built.NOT_AUTOMATIC-- If this option is added, you must build the documentation manually by callingmake doc. Otherwise the documentation is added to the default build target and built every time you callmake
doxygen-catkin-filegen
The add_doxygen() cmake function expects to find two files in the root directory of your package: mainpage.dox and Doxyfile.in. To get basic versions of these files, use the command-line utility doxygen-catkin-filegen that comes with this package:
$ doxygen-catkin-filegen -h
usage: doxygen-catkin-filegen [-h] project
This utility creates a basic doxygen Doxyfile.in and mainpage.dox based on your arguments
positional arguments:
project Pretty project name.
optional arguments:
-h, --help show this help message and exit