[CMake] Developing an externally usable API for CMake

Matt Rogers mattr at kde.org
Thu Jul 27 23:00:40 EDT 2006


Hi,

As suggested, I've copied most of CMake's code into the KDevelop 4 codebase 
for use in the cmake integration. However, I'd really love to have an 
external library of some sort that I can link against rather than having to 
keep up with CMake's code. This leads to a few questions I have:

1. Would the CMake developers be willing to provide guidance, accept patches, 
etc. for such a thing? I would be more than willing to work on it, assign 
copyright to Kitware, whatever is needed.

2. Are there any specs the CMake folks would like me to follow? I have an idea 
of what I want for KDevelop's purposes in the API. I'll share this a bit 
later once I get that stuff off the other machine.

Rationale:  CMake supporting KDevelop 3 with a generator is great. However, 
for the level of integration that I want to provide between CMake and 
KDevelop 4, I don't believe a generator will be able to do a good enough job. 
That is the reason I'm pushing so hard for an API of some sort that I can use 
to get information from the CMakeLists.txt files.

Thanks
--
Matt



More information about the CMake mailing list