smokris
smokris

Reputation: 11850

How to include only some source files in Doxygen-generated documentation?

In my project, I'd like to scan all source files for documentation, but only include in the generated documentation the full source code for some source files (example code, for example).

Currently I've set SOURCE_BROWSER and VERBATIM_HEADERS to NO, so no source files are included.

Is there some way I can provide a list of source files I'd like to include despite those settings?

Or, if I turn those options back on, is there some way I can provide a list of source files to exclude?

Upvotes: 4

Views: 7789

Answers (1)

doxygen
doxygen

Reputation: 14879

There is no way to only specify a specific list of files that need to be processed with SOURCE_BROWSER enabled.

You can however include examples, see snippet, example, dontinclude, or verbinclude for various ways to do this.

Upvotes: 7

Related Questions