Incorrect expansion of macros with ;
by CMake for doxygen PREDEFINED
#5193
Labels
type:Documentation
Documentation improvement or change
Description
I was looking at issue #4161 to get a bit of a feeling for it, and saw the definition (so another problem):
Which should result in 2 functions:
In the C++ code (itkMacro.h) we see this happening, but in the documentation there is no trace of
EnforceConnectivityOff
.Expected information
The function
EnforceConnectivityOff
is present as wellActual information
The function
EnforceConnectivityOff
is missingVersions
master 5df209f
Additional Information
In the DoxygenConfig.cmake we see (with
PREDEFINED
):and when running this through cmake we see:
Note: the
;
are gone and it are 2 strings, so doxygen will not see theOff
version. The solution for it is to escape the;
like:Note this will give in the mentioned case:
virtual void EnforceConnectivityOn(); virtual void EnforceConnectivityOff();;
as in the C++ code there is a
;
behind the the used macro, this is not a problem as doxygen will ignore the empty statement.The text was updated successfully, but these errors were encountered: