Re: [Doxygen-users] Adding Custom Commands to execute Shell Scripts
Brought to you by:
dimitri
From: Rosen D. <ros...@gm...> - 2010-07-18 06:45:56
|
> Couldn't you use INPUT_FILTER to write a parser that runs these \shell > commands instead? that means we would need to run a lexer and figure out the comments, and then parse the language tags. do you know of such a script? a \shell tag is so much easier and natural. i'm not sure why we are talking about 'platform independent' documentation generation when clearly doxygen is filled with many interesting features that execute shell commands at a user's demand, like the INPUT_FILTER configuration. anyway, the information we put in our doxygen comments and how we generate the actual documentation heavily depends on our environment, even though our project is platform independent... as my original email said, all doxygen has to do is pass the "progname args" to the portable_system function. rosen, 2010/7/18 Adam Nielsen <a.n...@sh...>: >> I realize there is an INPUT_FILTER configuration, but I would really >> hate to have to spoon-feed doxygen this way. >> >>> Therefore, what do you think about the proposal of adding a \shell >>> command to doxygen? For example: >>> >>> \shell "progname args" > > Couldn't you use INPUT_FILTER to write a parser that runs these \shell > commands instead? How would you make the commands platform independent > anyway? (e.g. can you tie in your autoconf scripts to replace program paths > to account for differences between user PCs?) > > Cheers, > Adam. > |