doxygendoxywizarddoxygen-wizarddoxygen-addtogroup

Generate Source Code for specific file using Doxygen


Setting SOURCE_BROWSER = TRUE show source code for all files.

Is it possible to show source of specific file?
Or enable \ref or equivalent using SOURCE_BROWSER = FALSE
Or remove source code for specifics files if SOURCE_BROWSER = TRUE
Or equivalent


Solution

  • It is possible using \include and \verbinclude.

    /**
    * \verbinclude Example.cs
    * \include Example.cs
    * */
    public class Example
    {
    
    }