New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#cmakedefine directives can not be documentated (Origin: bugzilla #595214) #3519

doxygen opened this Issue Jul 2, 2018 · 0 comments


None yet
1 participant

doxygen commented Jul 2, 2018

status RESOLVED severity enhancement in component general for ---
Reported in version unspecified on platform Other
Assigned to: Dimitri van Heesch

On 2009-09-14 21:25:43 +0000, Lukas Sommer wrote:

#cmakedefine can be used in C/C++ files instead of #define if you use the CMake build system (which is standard for KDE applications). When calling CMake, it will not only create the makefiles, but replace each occurence of #cmakedefine by either #define (if a variable of the same name lives in the build system) or comment it out (if there doens't live a variable of the same name in the build system).

Actually, I can't produce documentation for #cmakedefine. (I've tried it using "\def", but that results in an error message that no corresponding define is found, and my documentation isn't included in doxygens's output.) It would be great if doxygen could support #cmakedefine directives. They could be handeled exactly the same way like normal #define directives are handeld.

On 2009-10-04 11:20:07 +0000, Dimitri van Heesch wrote:

I'll include it in the next subversion update.
Please let me know if it works as expected.

On 2009-10-08 14:59:54 +0000, Lukas Sommer wrote:

Works fine with svn 709.

@doxygen doxygen closed this Jul 2, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment