Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't convert CMake environment variables when using -x_noenv option #11287

Merged
merged 1 commit into from
Dec 26, 2024

Conversation

albert-github
Copy link
Collaborator

When having environment CMake variables in the form of ${....} and using doxygen -x_noenv we still can get warnings like:

warning: argument '${EIGEN_DOXY_INTERNAL}' for option INTERNAL_DOCS is not a valid boolean value
Using the default: NO!

whilst in this case these environment variables should not give a warning and remain in the resulting Doxyfile. These variables are normally resolved by CMake, but when creating one's own Doxyfile based on a CMake Doxyfile.in without running CMake they should not be touched and not be converted to the default value.

(Found when doing some tests with the Eigen package).

When having environment CMake variables in the form of `${....}` and using `doxygen -x_noenv`  we still can get warnings like:
```
warning: argument '${EIGEN_DOXY_INTERNAL}' for option INTERNAL_DOCS is not a valid boolean value
Using the default: NO!
```
whilst in this case these environment variables should not give a warning and remain in the resulting Doxyfile. These variables are normally resolved by CMake, but when creating one's own Doxyfile based on a CMake Doxyfile.in without running CMake they should not be touched and not be converted to the default value.

(Found when doing some tests with the Eigen package).
@doxygen doxygen merged commit baece53 into doxygen:master Dec 26, 2024
10 checks passed
@albert-github albert-github added the fixed but not released Bug is fixed in github, but still needs to make its way to an official release label Dec 26, 2024
@albert-github albert-github deleted the feature/bug_cmakew_envvar branch December 26, 2024 13:50
@doxygen doxygen removed the fixed but not released Bug is fixed in github, but still needs to make its way to an official release label Dec 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants