You need to create a file similar to that of a Makefile, called a Doxyfile then run doxygen -g <config_file>