How to ignore generated code in doxygen?

Member

by lottie , in category: Third Party Scripts , 21 days ago

How to ignore generated code in doxygen?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

by herminia_bruen , 20 days ago

@lottie 

To ignore generated code in Doxygen, you can use the EXCLUDE configuration option in the Doxygen configuration file (Doxyfile).

  1. Open your Doxyfile in a text editor.
  2. Look for the EXCLUDE option in the configuration file.
  3. Add the path or paths to the directories or files containing the generated code that you want to ignore. For example: EXCLUDE = generated_code_folder/
  4. Save the changes to the Doxyfile.
  5. Re-run Doxygen to generate the documentation without including the specified generated code.


By specifying the directories or files to exclude in the EXCLUDE option, you can tell Doxygen to ignore them when generating the documentation. This will prevent the generated code from being included in the documentation.