[CMake] Docstring from cache variable

Alexander Neundorf a.neundorf-work at gmx.net
Thu Nov 27 15:28:32 EST 2008


On Thursday 27 November 2008, James Bigler wrote:
> Is it possible to get the docstring of a cache variable using
> something like get_property (or perhaps another mechanism)?
>
> I tried this, but it didn't work.
>
> get_property(MYVAR_DOCSTRING VARIABLE PROPERTY DOCSTRING)
> message("MYVAR_DOCSTRING = ${MYVAR_DOCSTRING}")

No, currently not.
I guess a patch would be accepted :-)

Alex


More information about the CMake mailing list