[cmake-developers] Extracting target metadata, IDE integration

Aleix Pol aleixpol at kde.org
Wed Sep 3 12:12:34 EDT 2014


On Wed, Sep 3, 2014 at 5:48 PM, Alexander Neundorf <neundorf at kde.org> wrote:

> On Wednesday, September 03, 2014 12:30:21 Aleix Pol wrote:
> > On Tue, Sep 2, 2014 at 3:58 PM, David Cole <dlrdave at aol.com> wrote:
> > > It makes sense. But what IDE are you referring to? Eclipse? Some other
> > > concrete example? Or just "any IDE and this feature should work
> everywhere
> > > CMake works...?"
> >
> > I'm working on KDevelop, I know for a fact though, that other IDEs are
> > looking for something similar too, such as QtCreator.
>
> I still don't understand why this shouldn't be an additional
> ExtraGenerator.
> It will generate a special file intended to be used by KDevelop and maybe
> QtCreator additionally to makefiles/ninja files. Could be called
> "GenericJSON"
> or so.
> Other IDEs which don't support this file type but which need their own
> project
> file obviously still need their own specific generator.
>
> Alex
>

Because it's not possible to change the generator of a build directory once
it's set up. You need to nuke it and re-create it.
Also because changing the generator could potentially change the
interaction the user has with the build directory, we don't want to get in
the way.

Aleix
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20140903/1d557866/attachment-0002.html>


More information about the cmake-developers mailing list