Monday, April 02, 2012

Running Doxygen (simple example)

First, we have to generate a configuration file for detailed specifications. This can easily be done by doxygen itself by simply typing:

doxygen –g

This will dump a default Doxyfile which is ready for further editing. We can edit the Doxyfile for flags (e.g. include subfolders etc). Once editing is finished, we can run

doxygen Doxyfile

This will generate the html or latex folder containing the documentation. In the Latex folder, you can type make to generate the desired pdf file.