Skip to content

doxygen-plugin

doxygen-plugin provides the xmake doxygen command, which generates the doxygen document of your project.

PayloadWhat it provides
plugins/doxygenthe xmake doxygen command

It generates a doxyfile from the project when there is none — the project name, version, source directory and output directory are filled in for you — and installs doxygen when it is missing.

NOTE

This command used to be built into xmake and now ships as an addon. The builtin one still works but is deprecated: it prints a notice pointing at the addon, and an installed addon takes over the command.

Installation

sh
$ xmake addon --install doxygen-plugin

Usage

sh
$ xmake doxygen                    # generate it, the source directory defaults to src
$ xmake doxygen -o /tmp/docs mysrc # a custom output and source directory
OptionDefaultDescription
-o, --outputdirthe build directorythe output directory of the document
srcdirsrcthe source code directory

When it is done, it prints the path of the result page, i.e. <outputdir>/html/index.html.