I have an ATTRIBUTES defined by macros. Is it posible for doxygen to put them in the Attributes section and be displayed seam as normal Attributes? (not in function)
#define DEF_ATRTRIBUTE(_Name, _Type, _LowerLimit, _UpperLimit, _Data, _Description)
It is necessary because of the complexity of the code...
DEF_ATRTRIBUTE(MyVar, ui8, 0, 255, 8, "example")
Any suggestions?
Doxygen is not designed specifically for C/C++ and does not include C/C++ macro preprocessor. It works with your source code.
But what you can do is to use your C/C++ compiler to generate preprocessed code (ie source with macros expanded) and give that source to Doxygen as input.
You didn't tell what compiler you are using. For Visual Studio compiler it is /P switch , for others - look for their documentation
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.