禁用来自 .tags 文件的警告
Disable warnings from .tags files
我有一个大量使用 Qt 的项目,希望其文档 link 到相关的 Qt 文档。
为此,我的项目的 doxyfile 添加了 Qt 的所有 .tags
文件作为 TAGFILES
,这按预期工作。
令我惊讶的是,我收到许多来自 Qt .tags
文件的警告,如下所示:
/usr/share/doc/qt/qtcore/qtcore.tags:1: Warning: parameters of member QObject::QObject are not (all) documented
/usr/share/doc/qt/qtcore/qtcore.tags:1: Warnung: parameters of member QObject::event are not (all) documented
由于它们属于我无法控制的第三方库,我不想被告知它们。
设置 WARN_IF_UNDOCUMENTED = NO
摆脱它们。不幸的是,它们对于我的代码也被静音了,我想在其中收到这些警告。
似乎没有仅针对 .tags
文件禁用警告的选项。
我怎样才能在我的代码和他们的代码之间实现这种分离?
编辑
尝试 EXCLUDE_PATTERNS = /*.tags *.tags
没有任何改变。
自版本 1.8.14(提交 aac84d5)以来,.tags
文件上的警告已被禁用。
我有一个大量使用 Qt 的项目,希望其文档 link 到相关的 Qt 文档。
为此,我的项目的 doxyfile 添加了 Qt 的所有 .tags
文件作为 TAGFILES
,这按预期工作。
令我惊讶的是,我收到许多来自 Qt .tags
文件的警告,如下所示:
/usr/share/doc/qt/qtcore/qtcore.tags:1: Warning: parameters of member QObject::QObject are not (all) documented
/usr/share/doc/qt/qtcore/qtcore.tags:1: Warnung: parameters of member QObject::event are not (all) documented
由于它们属于我无法控制的第三方库,我不想被告知它们。
设置 WARN_IF_UNDOCUMENTED = NO
摆脱它们。不幸的是,它们对于我的代码也被静音了,我想在其中收到这些警告。
似乎没有仅针对 .tags
文件禁用警告的选项。
我怎样才能在我的代码和他们的代码之间实现这种分离?
编辑
尝试 EXCLUDE_PATTERNS = /*.tags *.tags
没有任何改变。
自版本 1.8.14(提交 aac84d5)以来,.tags
文件上的警告已被禁用。