doxygen预处理C文件
我有以下C代码,我想用doxygen进行预处理并生成调用图(我设置ENABLE_PREPROCESSING=TRUE):doxygen预处理C文件,c,c-preprocessor,doxygen,C,C Preprocessor,Doxygen,我有以下C代码,我想用doxygen进行预处理并生成调用图(我设置ENABLE_PREPROCESSING=TRUE): 在调用图中,我获得了FuncLogError调用FuncReportStatus,尽管constREPORT\u ERROR\u TEST等于0。如果(REPORT\u ERROR\u TEST==1)您告诉doxygen宏值了吗?如果没有,请使用 PREDEFINED=CALL_ENABLE=1 PREDEFINED+=REPORT_ERROR_TEST=0 MACRO_E
在调用图中,我获得了
FuncLogError
调用FuncReportStatus
,尽管constREPORT\u ERROR\u TEST
等于0。如果(REPORT\u ERROR\u TEST==1)您告诉doxygen宏值了吗?如果没有,请使用
PREDEFINED=CALL_ENABLE=1
PREDEFINED+=REPORT_ERROR_TEST=0
MACRO_EXPANSION=YES
在doxygen配置文件中。您是否告诉doxygen有关宏值的信息?如果没有,请使用
PREDEFINED=CALL_ENABLE=1
PREDEFINED+=REPORT_ERROR_TEST=0
MACRO_EXPANSION=YES
在doxygen配置文件中。根据需要,您可以禁用doxygen完成的预处理:
# If the ENABLE_PREPROCESSING tag is set to YES, doxygen will evaluate all
# C-preprocessor directives found in the sources and include files.
# The default value is: YES.
ENABLE_PREPROCESSING = YES
根据您的需要,您可以禁用由doxygen完成的预处理:
# If the ENABLE_PREPROCESSING tag is set to YES, doxygen will evaluate all
# C-preprocessor directives found in the sources and include files.
# The default value is: YES.
ENABLE_PREPROCESSING = YES