[CMake] How to establish hierarchical dependencies for CMake variables?

SF Markus Elfring elfring at users.sourceforge.net
Fri Apr 18 16:10:41 EDT 2014


Hello,

The module "CMakeDependentOption" is provided for a while. Is it possible to
establish dependencies between other CMake variables (which are not "options")
in a similar way?
Can a string be automatically forwarded from one variable into parts at other
places during the build configuration?

Regards,
Markus


More information about the CMake mailing list