how to get my .cpp file in doxygen documentation too?

对着背影说爱祢 提交于 2019-12-24 14:25:26

问题


I have a c++ project in which I have 2 .hpp files and their .cpp files, I commented all of them but when I run Doxygen I only get .hpp files ? any idea how can i get my source files too ? is possible at least ?


回答1:


In DoxyWizard, go to Expert->Input then scroll down to FILE_PATTERNS. Make sure the .cpp extension is listed. If not, insert it into the list.




回答2:


Did you try generating the doxygen config file and then see if you'd like to modify anything?

doxygen -g "config_file_name"

Then run doxygen as follows:

doxygen "config_file_name"


来源:https://stackoverflow.com/questions/18976509/how-to-get-my-cpp-file-in-doxygen-documentation-too

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!