3
votes

I have doxygen setup as a PostBuild Event in Visual Studio 2013 (C++) as a means of giving warnings about what still needs to be documented.

Does anyone know if its possible to alter the format of the doxygen warning messages

Currently the doxygen format is

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

But if the format were:

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

Then the errors would get copied from the output into the "Error List" and also double clicking on the error in the output window would take me directly to the line where the documentation was missing

Of course I can write an application to run doxygen in the background and transform the messages (which is what I will do) but if its possible to tell doxygen to generate VS style warnings via the doxygen configuration Then I would prefer to do that.

e.g.

path(line): message

Many thanks in advance

1

1 Answers

6
votes

Sorry to answer my own question, it seems that the doxygen configuration has the following option WARN_FORMAT

by altering it to:

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

Allows the errors to be integrated into visual studios error and output