c++ - How to set an input directory for doxygen? -
i have directory in source , header files saved. run doxygen generate documentation these source code. however, not want change in directory (in particular cannot add sub directories in doxygen documentation saved).
how can achieve need? using doxygen first time. so, detailed instructions appreciated.
i think need following. create , go 'documentation' directory. in directory execute doxygen -g
create template configuration file named "doxyfile". then, think, need modify doxyfile indicate source code not in current directory. way, output automatically (by default) saved in directory in doxygen executed?
i found answer already. procedure follows:
- execute
doxygen -g
. doxyfile generated. - open doxyfile , find
input =
- after 'input =' put name of directory source code located.
- execute in command line
doxygen doxyfile
. - the output put directory doxygen executed.
Comments
Post a Comment