As suggested here, I have some parts in my code, that are enabled by a compilation flag.
For example I have this piece of code:
#ifdef MYPROJ_HAS_BOOST
...
#endif
Doxygen will leave them out, because they are omitted, since MYPROJ_HAS_BOOST
is not defined. I solved it, with adding a #define MYPROJ_HAS_BOOST
.
However this is not nice, because in the future (I am planning to extend the project), when the time comes to re-generate my documentation, maybe I will have forgotten about this.
Is there any way to say to Doxygen (ideally via doxywizard) to take into account these parts of my code too?