Does Lazy C++ (lzz) play nice with Doxygen?
Has anyone tried embedding Doxygen comments within Lazy C++ source f开发者_如何学编程iles? Any problems? Where do the Doxygen comments go after generating the header/source files?
I went ahead and downloaded Lazy C++ to try it out, and it seems that it does not play nice with Doxygen. My Doxygen comments did not appear at all in the generated header/source files.
I then tried making Doxygen parse my lzz file, which had a special #hdr
preprocessor command. Doxygen simply ignored that special preprocessor command and the generated documentation seems fine.
So the moral of the story is to simply make Doxygen parse the *.lzz files and not the generated *.h / *.cpp files. :-)
精彩评论