[cmake-developers] Extracting target metadata, IDE integration

Aleix Pol aleixpol at kde.org
Thu Dec 18 21:02:24 EST 2014


On Wed, Oct 15, 2014 at 1:46 AM, Aleix Pol <aleixpol at kde.org> wrote:
> On Fri, Oct 3, 2014 at 3:52 PM, Rolf Eike Beer <eike at sf-mail.de> wrote:
>>
>> Brad King wrote:
>> > On 10/01/2014 07:46 PM, Aleix Pol wrote:
>> > > I'm very interested in getting this in and iterating forward.
>> > >
>> > > Any comments? How do changes get integrated?
>> >
>> > My main concern is that the format has not been proven with a
>> > corresponding implementation of an actual IDE/plugin to use it.
>> > Once we start producing a format changing it later will be
>> > problematic for compatibility.  Even though we added a version
>> > number to the file, an IDE might not be updated along with a
>> > CMake that produces a newer version.
>>
>> This probably needs a way to query for the IDE which versions the given
>> CMake
>> version supports, no? Otherwise a newer IDE may request version 3 and just
>> get
>> nothing because the CMake binary only supports 1 and 2.
>>
>> Eike
>> --
>
>
> If it's not available then it should just error out.
>
> Aleix
>
> PS: I'm alive, working on this, when I get some free time

Hi,
I would like to propose this as a final version of this patch.
http://proli.net/meu/kdevelop/0001-cmake-Add-option-to-generate-target-metadata-for-IDE.patch

I have a working proof of concept in KDevelop already I'm quite happy with.

Any thoughts?
Aleix


More information about the cmake-developers mailing list