Mudanças entre as edições de "Doxygen"
De WikiLICC
m |
m |
||
Linha 8: | Linha 8: | ||
e edite o arquivo | e edite o arquivo | ||
[usuario] $ vi Doxyfile | [usuario] $ vi Doxyfile | ||
+ | |||
+ | |||
+ | Step 1 | ||
+ | |||
+ | Run | ||
+ | |||
+ | % doxygen -g | ||
+ | |||
+ | which creates a Doxyfile that tells doxygen what you want it to do. | ||
+ | |||
+ | |||
+ | Step 2 | ||
+ | |||
+ | Edit the Doxyfile. The important entries are: | ||
+ | |||
+ | PROJECT_NAME | ||
+ | OPTIMIZE_FOR_FORTRAN (set to YES) | ||
+ | EXTRACT_ALL (set to YES) | ||
+ | EXTRACT_PRIVATE (set to YES) | ||
+ | EXTRACT_STATIC (set to YES) | ||
+ | INPUT (in my case it is “./code”) | ||
+ | FILE_PATTERNS (if extension is not .f90) | ||
+ | HAVE_DOT (set to YES) | ||
+ | CALL_GRAPH (set to YES) | ||
+ | CALLER_GRAPH (set to YES if you want) | ||
+ | DOT_PATH (if the dot program from graphviz is not in your $PATH) | ||
+ | |||
+ | Step 3 | ||
+ | |||
+ | Run | ||
+ | |||
+ | % doxygen Doxyfile |
Edição das 17h36min de 25 de novembro de 2010
Cria documentacão de software (Fortran, C e outros)
Apenas rode
[usuario] $ doxygen meuprograma.f90
Para criar um arquivo de configuraćão:
[usuario] $ doxygen -g
e edite o arquivo
[usuario] $ vi Doxyfile
Step 1
Run
% doxygen -g
which creates a Doxyfile that tells doxygen what you want it to do.
Step 2
Edit the Doxyfile. The important entries are:
PROJECT_NAME OPTIMIZE_FOR_FORTRAN (set to YES) EXTRACT_ALL (set to YES) EXTRACT_PRIVATE (set to YES) EXTRACT_STATIC (set to YES) INPUT (in my case it is “./code”) FILE_PATTERNS (if extension is not .f90) HAVE_DOT (set to YES) CALL_GRAPH (set to YES) CALLER_GRAPH (set to YES if you want) DOT_PATH (if the dot program from graphviz is not in your $PATH)
Step 3
Run
% doxygen Doxyfile