[CMake] Improvements for macro "CMAKE_DEPENDENT_OPTION"?

SF Markus Elfring elfring at users.sourceforge.net
Fri Apr 8 14:20:37 EDT 2011


Hello,

I tried to use the module "CMakeDependentOption" with the tool "CMake 2.8.4" on 
my openSUSE 11.4 system as it is mentioned in the documentation.
http://cmake.org/cmake/help/cmake-2-8-docs.html#command:option
http://cmake.org/gitweb?p=cmake.git;a=blob;f=Modules/CMakeDependentOption.cmake;hb=2cde67a78123a4e59390f7aa2030ea8ff9e206d2

I noticed that the tool tip on a restored dependent variable was "OFF" while I 
expected the return of the longer description that was initially set. Can it be 
that the variable documentation is "lost" from the variable attributes somehow?

Does the macro "CMAKE_DEPENDENT_OPTION" has also got difficulties with the 
handling of variables from build scripts in subdirectories?

Regards,
Markus


More information about the CMake mailing list