[CMake] Resolution of dependencies for Subversion

SF Markus Elfring elfring at users.sourceforge.net
Sun Sep 27 04:50:33 EDT 2009


> If you're asking if the module should find "svn.exe" if all you need 
> is the subversion libraries, the answer is it doesn't have to. Once 
> COMPONENTS have been specified the module can require the user 
> specify one to find executables as well. FindImageMagick is a good 
> example of this. It maintains backwards compatibility if COMPONENTS 
> is not specified but otherwise requires each component that is to be 
> searched for to be explicitly named regardless of it it is a program 
> or a library.

Thanks for your explanation.

Can it be avoided to copy and paste source code from other configuration scripts into the discussed update candidate?
Does a base class exist which provides the common functionality for path searching and variable setting?
How many instructions have the available files got in common so that more configuration code can be moved into base functions?

Regards,
Markus


More information about the CMake mailing list