eclox icon indicating copy to clipboard operation
eclox copied to clipboard

Add configuration of evironment varibles for a doxygen run

Open lordyavin opened this issue 5 years ago • 1 comments

Expected Behavior

It should be possible to configure the doxygen run with environment variables.

Actual Behavior

The doxygen process runs in the current environment of the parent process (I suppose) and it is not possible to use non-existing environment variables in the Doxyfile.

Steps to Reproduce the Problem

Use an executable (e.g. a input filter) that is not on the PATH and not relative to the DoxyFile. E.g. python or perl. One could configure the executable using the standard environment variable PYTHONHOME like this INPUT_FILTER = "$(PYTHONHOME)\python.exe doxyfilter.py". If this variable is yet not defined the doxygen run will fail.

To be independent of OS settings it would be helpful to add this variable to the configuration of eclox.

Your Environment

  • Eclox Plugin version: 0.12.1.v20180118-1753
  • Eclox Doxygen Plugin version: 1.8.16.v20191028-2041
  • Eclipse Version: 2019-12 (4.14)
  • Java Version: 11
  • Operating System Version: Win7

lordyavin avatar Feb 18 '20 14:02 lordyavin

Thanks for the request. It makes sense for me. It can be implemented similar to Eclipse CDT's C/C++ -> Build -> Environment preferences:

image

anb0s avatar Feb 18 '20 20:02 anb0s