[Doxygen-develop] Mixed language-project with c-comments and matlab-comments
Brought to you by:
dimitri
From: <Eck...@t-...> - 2013-05-06 17:47:53
|
Hello Everybody. For my nassi-shneiderman generator for doxygen (https://sourceforge.net/projects/moritz/) I'm working on an interface for the programming-language matlab.For a first demo-release I created some example-sources which I want to use together with my already existing c-based description of the general function of Moritz to create with doxygen a documentation. This means I have some txt-files with c-comment blocks (where I have defined *.txt as FILE_PATERNS). This c-comment-blocks contain doxygen group- and page-definitions which are traditionally used from me as description of the language independent parts of the documentation. In addition I have some files which contain comment-blocks in the programming-language for what I want to add examples. For python this works very good, since doxygen is already able to understand python-files as well as c-files. But since doxygen does not know matlab, I have to use a perl-filter for those files. The perl-filter itself works well as long as I only use my matlab-files. But I'm not able to configure doxygen to use this filter for matlab-files only and to use its own build-in c-parser for all other files. If I use INPUT_FILTER = "perl ./folder/subfolder/m2cpp.pl" all matlab-files will be parsed correctly but the files with the c-comments will be ignored. If I use FILTER_PATTERNS = "*.m=perl ./folder/subfolder/m2cpp.pl" doxygen tells me that the perl-script can not be opened. The c-comment files will be analysed but not the matlab-files. I had the idea to use INPUT_FILTER = "perl ./folder/subfolder/m2cpp.pl" together with FILTER_PATTERNS = "*.txt=????? to use the perl-fileter as default-filter and to deactivate it for the txt-files which contain the c-comment blocks. But I don't know what to use instead for the question-marks to ensure that no filter will be used but the doxygen-parser directly. Is someone able to help me? With many thanks, Eckard Klotz. |