开发者

Renaming File Paths and Doxygen

I have a file that is located at a different path at development time, however at the time of release it will be in a different location. The title of the documentation, after being generated, is set to the development path. Is it possible to manually set the path of the filename?

What I mean about title: The structure of the documented source fi开发者_开发技巧le is: \File\Path\Filename.cpp [Title] Function prototypes … (other documented aspects)

For example the file is located at c:\Code\Dev\Filename.cpp during development and during release it is located at c:\SuperFantasticApplication\Code\Filename.cpp.

I’ve tried adding a parameter after the filename at the top of the file (\file [name I want it to be]). However, that does not work.


There's an option in doxygen to turn of using full path names in the documentation. Inside your doxygen configuration file set FULL_PATH_NAMES to NO.

Here's what the documentation says about it:

If the FULL_PATH_NAMES tag is set to YES doxygen will prepend the full path before files name in the file list and in the header files. If set to NO the shortest path that makes the file name unique will be used

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜