-
Notifications
You must be signed in to change notification settings - Fork 2
Building Doxygen
Todd A. Oliver edited this page Nov 19, 2022
·
1 revision
As of PR #186, TPS has some doxygen-style comments and supports generating html code documentation based on these comments.
To build the html, you will need two external packages:
- doxygen - https://www.doxygen.nl/
- graphviz/dot - https://graphviz.org/
These packages are installed in the TPS test docker container.
Given these packages, simply configure TPS as you normally would. While there are no configure switches associated with the doxygen documentation, the doxygen executable and path information for the generated html are determined by configure. Assuming you're starting from the TPS top-level, an out-of-source build would look as follows:
- Configure as usual
$ mkdir build
$ ./bootstrap
$ cd build
$ ../configure CXXFLAGS="-g -O2 -Wall"
- Build the
doc
target
$ cd src
$ make doc
- Check out the documentation by pointing your browser to
<tps-top-level>/build/doc/html/index.html