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