Do Doxygen config files support variables?

Mr. Boy picture Mr. Boy · Jun 17, 2010 · Viewed 7.2k times · Source

For instance I set the source code path as c:\code\testapp\src. Is this then available as a var I can use - for instance so I can spit out a tag file in a location relative to this, not relative to the working dir of doxygen? I think I'm looking for something like how Ant defines vars for just about everything and these can be re-used; does Doxygen have special vars for any of the config values?

I'm thinking like $PROJECT-NAME or %VERSION% or whatever...

Answer

doxygen picture doxygen · Jun 13, 2011

You can use environment variables in the configuration file; the syntax is the same as in a makefile, i.e. $(VAR_NAME)