Doxygen alert format for Visual Studio compliance

I have set up doxygen as a PostBuild event in Visual Studio 2013 (C ++) as a means of providing alerts on what else needs to be documented.

Does anyone know if it is possible to change the doxygen warning message format

Currently doxygen format

D: /project/src/MyFile.h: 13: warning: Compound MyClass is not documented.

But if the format was:

D: \ project \ src \ MyFile.cpp (63): Compound warning MyClass not documented.

The errors will then be copied from the output to the "Error List" and also double clicking on the error in the output window will take me straight to the line where the documentation was missing.

Of course I can write an application to run doxygen in the background and transform messages (which is what I will do), but if it can be told to doxygen to generate VS style warnings via doxygen config. Then I would rather do that.

eg.

path (string): message

Thank you very much in advance

+3


source to share


1 answer


Sorry to answer my own question, it looks like the doxygen config has the following WARN_FORMAT setting

changing it to:



WARN_FORMAT = "$ file ($ line): $ text"

Allows you to integrate errors into visual studio errors and output

+6


source







All Articles