[Doxygen-users] Adding Custom Commands to execute Shell Scripts
Brought to you by:
dimitri
From: Rosen D. <ros...@gm...> - 2010-07-15 19:44:12
|
dear doxygen users, It would be really great to be able to define a custom command in doxygen that can execute a program on the shell and directly insert its output into the doxygen parser. I was thinking this would be possible with the ALIASES command, but only recursively replaces text, it doesn't do any shell execution. Therefore, what do you think about the proposal of adding a \shell command to doxygen? For example: \shell "progname args" Where progname could hypothetically run several examples on my project, where each example generates images according to the "args" of the program; the stdout output will be a set of "\image html xxx.png" strings, which doxygen would happily parse and insert into the documentation. Looking at the doxygen sources, the use of "portable_system" function is pretty common, combining that with the aliases feature, we could have a \shell command completed fairly quickly.. thanks, rosen diankov, |