| 1 |
|
| 2 |
.. _define-example: |
| 3 |
|
| 4 |
doxygendefine Directive Example |
| 5 |
=============================== |
| 6 |
|
| 7 |
Working Example |
| 8 |
--------------- |
| 9 |
|
| 10 |
This should work: |
| 11 |
|
| 12 |
.. code-block:: rst |
| 13 |
|
| 14 |
.. doxygendefine:: WRITE_TREE_MISSING_OK |
| 15 |
:project: c_file |
| 16 |
|
| 17 |
It produces this output: |
| 18 |
|
| 19 |
.. doxygendefine:: WRITE_TREE_MISSING_OK |
| 20 |
:project: c_file |
| 21 |
|
| 22 |
Failing Example |
| 23 |
--------------- |
| 24 |
|
| 25 |
This intentionally fails: |
| 26 |
|
| 27 |
.. code-block:: rst |
| 28 |
|
| 29 |
.. doxygendefine:: MADEUPDEFINE |
| 30 |
:project: define |
| 31 |
|
| 32 |
It produces the following warning message: |
| 33 |
|
| 34 |
.. warning:: |
| 35 |
doxygendefine: Cannot find define "MADEUPDEFINE" in doxygen xml |
| 36 |
output for project "define" in directory: ../../examples/specific/define/xml |