Re: [Doxygen-users] Overriding configuration options from command line
Brought to you by:
dimitri
From: Dimitri v. H. <di...@st...> - 2003-08-15 07:35:45
|
On Thu, Aug 14, 2003 at 08:22:48PM -0700, Uwe Behrens wrote: > Greetings! > > I wonder whether it is possible to selectively override certain options in a configuration file from the command line. In particular, I have a configuration file 'config.dox' that contains the line: > > QUIET = NO > > giving me plenty of feedback when used like this: > > % doxygen config.dox > > Sometimes, however I don't want all this output. What I want is to be able to suppress the output, without affecting anything else in the configuration file. Thus, rather than having a second configuration file that is identical to 'config.dox' but with 'QUIET = YES' (and the associated problems of keeping the two files in sync), I'd prefer something like: > > % doxygen -c "QUIET = YES" config.dox > > where the '-c' option tells doxygen to use the next argument as a 'configuration override' for whatever is specified in 'config.dox'. > > Is that possible? I searched the manual but couldn't find anything referring to this. If it's currently not possible, can it be added? There is no -c like option, but on Linux/Unix/Cygwin you could do: (cat config.dox ; echo "QUIET=YES") | doxygen - to get the same effect. You can also use "@INCLUDE = generic.cfg", to include a generic config file from a more specific one. Regards, Dimitri |