Friday 27 July 2012

How to exclude directory from Doxygen parsing

Let's say we want to generate documentation for some code which is at the following path:

C:\development\project1

This project might be using some module (e.g. 3rd party code) which is contained in project1's subdirectory:

C:\development\project1\module1

How to exclude module1 from Doxygen parser? In Doxywizard, open Expert tab and click on Input topic. Find EXCLUDE_PATTERNS attribute and type:

*/module1/*

NOTE:
INPUT attribute should be set to the absolute path to the code of our project:

C:\development\project1

No comments: