[CMake] [PATCH] Install CMakeLib and headers

Brad King brad.king at kitware.com
Wed Jun 28 11:04:16 EDT 2006


Matt Rogers wrote:
> The attached patch installs the CMakeLib and it's headers so that they can be 
> used outside of the cmake source dir w/o having to copy the entire cmake 
> source. This is useful for projects like KDevelop that would like to have 
> powerful native support for CMake using the CMake code rather than 
> reinventing the wheel.
> 
> Currently untested. Please review

Sorry we have not had time to look at exporting an interface. 
Unfortunately your approach is probably not what we would like to do. 
We don't want to have to worry about maintaining an API; at least not 
one this wide and deeply integrated with the implementation.

I suggest you just copy the code you need into KDevelop for now.  This 
is allowed by the license as long as the copyright headers are left in 
the files (you can even add KDevelop copyright headers above them). 
Later when we have time to develop a public API for CMake you can 
convert to using it.

-Brad


More information about the CMake mailing list