Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to exclude files and directories in Doxygen

📅 2015-Sep-22 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ doxygen, exclude ⬩ 📚 Archive

Doxygen provides two configuration options to exclude certain files and directories from being indexed: EXCLUDE and EXCLUDE_PATTERNS. Note that these need to be specified in a format that is counter-intuitive to what is common among software tools.

EXCLUDE = src/axle.cpp
EXCLUDE_PATTERNS = */src/*
EXCLUDE_PATTERNS = */src/* \
                   */include/*
EXCLUDE_PATTERNS  = */src/*
EXCLUDE_PATTERNS += */include/*

Tried with: Doxygen 1.8.6 and Ubuntu 14.04


© 2022 Ashwin Nanjappa • All writing under CC BY-SA license • 🐘 @codeyarns@hachyderm.io📧