Reputation: 93
I am trying to figure out if it is possible to passing a file containing a list of files/directories to Doxygen INPUT tag. In case the sentence above does not describe my intention clearly, consider an example where I would like to include these files and directories for the Doxygen to scan and generate some documentation: ./file_1.c ./file_1.h ./file_2.c ./dir_1 ./dir_2/file_20.c ./dir_3/file_31.c ... etc.
If only those items I want to include, I could simply append it to the INPUT tag, and make it look like this:
INPUT = ./file_1.c \
./file_1.h \
./file_2.c \
./dir_1 \
./dir_2/file_20.c \
./dir_3/file_31.c
However if the list grows, and if the files are not necessarily confined to a certain directory, it would be nice to put that list on a separate file, let's call it doxyInput.lst, and 'pass' it to Doxygen.
I tried it. I put the list above to the doxyInput.lst and just set the INPUT tag in my Doxy config file to this:
INPUT = doxyInput.lst
But that does not work.
Is what I'm trying to do here supported by Doxygen?
I tried looking it up on the Internet, but I guess I don't know the proper search term, so I didn't find what I'm looking for. Thanks a lot!
Upvotes: 1
Views: 1390
Reputation: 9067
It is not possible to add a list with file names directly to e.g. INPUT
but there are some possibilities like:
INPUT
as well and use FILE_PATTERNS
to select only relevant file extensions. Use RECURSIVE
to go into sub directories and use EXCLUDE_PATTERNS
to exclude file(patterns).@INCLUDE
in the doxygen configuration file (Doxyfile).Upvotes: 1