I’m documenting a C++ project with Doxygen and I want the dependency graph to only include my header file, not other libraries. I have it like this:
#ifndef CJT_ROBOT_HH
#define CJT_ROBOT_HH
#include "Machine.hh"
#include "BinTree.hh"
#ifndef NO_DIAGRAM
#include <string>
#include <iostream>
#include <vector>
#include <stdexcept>
#include <set>
#endif
If I select in the Doxygen GUI to use the built-in class generator, no graph is generated. If I use the dot tool from GraphViz, the NO_DIAGRAM is ignored.
1