我可以使用文件在 Doxygen 上指定输入 files/directories 吗?

Can I use a file to specify input files/directories on Doxygen?

是否可以有一个包含所有 files/directories 我想让 Doxygen 运行 打开的路径的文件?如果可以,在配置文件中如何指定,文件的格式应该是怎样的?

如果我的配置文件是这样的,Doxygen 可以运行吗?

INPUT = inputs.txt

在哪里

#file: inputs.txt
\ 
 file1.c \
 folder\file2.cpp 

你指定的方式是不可能的,但 doxygen 有配置文件的包含机制。来自“配置”一章:

You can also include part of a configuration file from another configuration file using a @INCLUDE tag

有关详细信息,请参阅文档中提到的章节。