GNOME Bugzilla – Bug 750016
FILE_PATTERNS ignores arbitrary extensions
Last modified: 2015-06-27 19:01:45 UTC
Created attachment 304133 [details] Example where *.xx file is ignored It seems FILE_PATTERNS ignores arbitrary extensions, only "known" ones are recognized. I set it like this: FILE_PATTERNS = *.hh *.xx But all *.xx files are ignored. Example is attached. There are "index.hh" and "index.xx"; in "Related pages" only "index.hh" is listed. I tested also 1.8.9 and 1.8.8 - the same problem. Though in 1.7.6.1 all is OK - both "index.hh" and "index.xx" are listed in "Related pages".
There has been a change in newer versions of doxygen in respect to extensions. In the past unknown extensions were treated as (by head) C code. By defining in the EXTENSION_MAPPING the correct language for the xx file extension it should work again. I suggest to set this to RESOLVED - NOT A BUG
After I set the EXTENSION_MAPPING, custom extensions could be processed. However it is not written anywhere in the manual. I believe the following note has to be added to FILE_PATTERNS description: < Note that for custom extensions you also need to set EXTENSION_MAPPING otherwise the files are not read by doxygen. >
I've just pushed a proposed patch to github (pull request 346)
Changes have been incorporated in github version.
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.8.10. Please verify if this is indeed the case. Reopen the bug if you think it is not fixed and please include any additional information that you think can be relevant (preferably in the form of a self-contained example).