0

I have to specify the location of a tool to Doxygen, something like this in a Doxyfile:

TOOL_PATH = ../${PROJECT_NAME}/Third-party/tool.jar

where PROJECT_NAME is a Doxygen variable.

The ${} syntax is not accepted, I also tried with $, @ and %, but none works.

If I specify the complete path, the tool is found and launched correctly.

Pietro
  • 12,086
  • 26
  • 100
  • 193
  • Have you tried adding quotes `TOOL_PATH = "../${PROJECT_NAME}/Third-party/tool.jar"` ? – Jan Richter Oct 01 '18 at 17:10
  • Yes, same error: path does not exist. It does not substitute the string... – Pietro Oct 01 '18 at 17:19
  • 1
    In the Doxyfile you can use environment variables, but configuration variables cannot be used in other configuration variables. – albert Oct 01 '18 at 17:33
  • @albert - Do you mean I cannot use a configuration variable (in this case the name of the project, known by Doxygen) to build a path? Is there another way around? – Pietro Oct 02 '18 at 08:56
  • Indeed the way around is to define an environment variable and use this in your Doxyfile. – albert Oct 02 '18 at 09:21

0 Answers0