anb0s / eclox

Eclox is a simple doxygen frontend plug-in for eclipse. It aims to provide a slim and sleek integration of the code documentation process into Eclipse.
http://anb0s.github.io/eclox
Eclipse Public License 2.0
35 stars 2 forks source link

Add configuration of evironment varibles for a doxygen run #239

Open lordyavin opened 4 years ago

lordyavin commented 4 years ago

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

anb0s commented 4 years ago

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

image