开发者

Get Doxygen to show Xcode compile errors if documentation is missing

I have been successful with this in the past but now I can't seem to find the setting that tells Xcode or Doxygen (or both) to display compile errors if documentation is missing. I have looked at the Apple documentation that tells how to create docsets and that works fine but Xcode does not throw compiling error开发者_如何学编程s on missing comments in the source code. Anyone know how to get this turned on?

Thanks, Rob


To make Doxygen generate error when documentation is missing, you have theses options:

  • WARNINGS
  • WARN_IF_UNDOCUMENTED
  • WARN_IF_DOC_ERROR
  • WARN_NO_PARAMDOC

In Xcode, you can launch Doxygen with a Run Script build phase. In the "Build Results", every line that begins with "Warning:" will be highlighted in Xcode.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜