编译时如何包含外部文件中定义的 doxygen ALIASES 列表
有谁知道如何在编译时包含在外部文件中定义的 doxygen 别名列表
我不想在 .doxyfile 中定义别名,因为这是许多工程师使用的大型代码库。因此,为了简单起见,我想包含一个文件,其中列出了我们定义的所有自定义别名(100 个),并且不时添加/修改,并在编译 doxygen 输出时将其拉入。
Does anyone know how I can include a list of doxygen ALIASES defined in an external file when compiling
I dont want to define ALIASES in the .doxyfile as this is for a large codebase that lots of engineers use. So to keep things simple, I want to include a file which lists all the custom ALIASES (100's) that we have defined and add/modify from time to time and get pulled in when we compile doxygen output.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
抱歉,我参加聚会迟到了,但由于还没有人接听,所以就开始吧。
据我所知,恐怕没有简单的方法可以做到这一点,但是我可以想到一种方法...当您调用 doxygen 时,您可以通过指定要使用的 Doxyfile 来完成此操作:
但是,如果您输入'-' 作为文件名,doxygen 将从标准输入/输出读取/写入。因此,您可以创建一个简单的脚本或程序来生成基本的 Doxyfile,您可以在其中包含相关的别名并通过标准输入输出它。如何操作取决于您的操作系统。
Sorry I'm late to the party but since no one answered yet, here goes.
There is no simple way of doing this that I know of, I'm afraid, but there is one way I can think of... When you call doxygen, you do it by specifying which Doxyfile to use:
However, if you enter '-' as file name, doxygen will read/write from standard input/output instead. So you might create a simple script or program to generate your basic Doxyfile to which you can include the relevant ALIASES and output it through standard input. How you do it will depend on your OS.