author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Sun, 14 Aug 2011 12:29:55 +0300 | |
changeset 930 | 36430cc457bd |
parent 626 | ad96e87bf403 |
permissions | -rwxr-xr-x |
625 | 1 |
-*- mode: outline; coding: utf-8 -*- |
2 |
||
3 |
* Doxygen simple workflow. |
|
4 |
||
5 |
$ cd $proj |
|
6 |
$ doxygen -g $proj.cfg # generate basic config file |
|
7 |
||
8 |
Edit $proj.cfg. Some essential settings: |
|
9 |
||
10 |
PROJECT_NAME = my-proj |
|
11 |
OUTPUT_DIRECTORY = my |
|
12 |
OUTPUT_LANGUAGE = English |
|
13 |
INPUT = my.h my.hpp dir/ |
|
14 |
INPUT_ENCODING = UTF-8 |
|
15 |
FILE_PATTERNS = |
|
16 |
RECURSIVE = NO |
|
17 |
GENERATE_HTML = YES |
|
18 |
||
626
ad96e87bf403
Generate .chm from doxygen.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
625
diff
changeset
|
19 |
* Generate .chm from doxygen. |
ad96e87bf403
Generate .chm from doxygen.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
625
diff
changeset
|
20 |
|
ad96e87bf403
Generate .chm from doxygen.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
625
diff
changeset
|
21 |
Check doxygen config file for: |
ad96e87bf403
Generate .chm from doxygen.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
625
diff
changeset
|
22 |
|
ad96e87bf403
Generate .chm from doxygen.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
625
diff
changeset
|
23 |
GENERATE_HTMLHELP = YES |
ad96e87bf403
Generate .chm from doxygen.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
625
diff
changeset
|
24 |
CHM_FILE = my.chm |
ad96e87bf403
Generate .chm from doxygen.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
625
diff
changeset
|
25 |
CHM_INDEX_ENCODING = Windows-1251 |
ad96e87bf403
Generate .chm from doxygen.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
625
diff
changeset
|
26 |
|
ad96e87bf403
Generate .chm from doxygen.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
625
diff
changeset
|
27 |
Run 'doxygen' and 'hhc.exe' on generated 'index.hhp' |
ad96e87bf403
Generate .chm from doxygen.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
625
diff
changeset
|
28 |
|
ad96e87bf403
Generate .chm from doxygen.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
625
diff
changeset
|
29 |
$ doxygen $proj.cfg |
ad96e87bf403
Generate .chm from doxygen.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
625
diff
changeset
|
30 |
$ cd $proj/html # here gone doxygen html output |
ad96e87bf403
Generate .chm from doxygen.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
625
diff
changeset
|
31 |
$ hhc.exe index.hhp |
ad96e87bf403
Generate .chm from doxygen.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
625
diff
changeset
|
32 |