InsightSoftwareConsortium / ITK

Insight Toolkit (ITK) -- Official Repository. ITK builds on a proven, spatially-oriented architecture for processing, segmentation, and registration of scientific images in two, three, or more dimensions.
https://itk.org
Apache License 2.0
1.47k stars 686 forks source link

COMP: Fixed how Doxygen aliases are passed via CMake. #5169

Closed devbanu closed 2 weeks ago

devbanu commented 2 weeks ago

Added an additional layer of escaping to make sure the escaping required by Doxygen itself survives.

These changes fix the errors reported in the ITKDoxygen issue:

https://github.com/InsightSoftwareConsortium/ITKDoxygen/issues/5

and also reported in:

3655

I found two files where these Doxygen aliases are passed via CMake:

https://github.com/InsightSoftwareConsortium/ITK/blob/1090d31e0360022b4414d0c3cbf27927a7d55901/Utilities/Doxygen/DoxygenConfig.cmake

https://github.com/InsightSoftwareConsortium/ITK/blob/1090d31e0360022b4414d0c3cbf27927a7d55901/Wrapping/DoxygenConfig.cmake

These files are very similar, but there are some differences that look like they should've been copied over to the other file.

Finally, I see that the live documentation at https://itk.org/Doxygen/html/index.html does not have the issues that this commit fixes. So I am not sure how that was generated, and why it does not have this problem.

PR Checklist

Refer to the ITK Software Guide for further development details if necessary.