[cmake-developers] daemon-mode: Project structure

Alexander Neundorf neundorf at kde.org
Thu Jun 9 16:21:00 EDT 2016


On Thursday 09 June 2016 12:59:40 Tobias Hunger wrote:
> Hi Milian,
...
> > >           "targets":
> > >           [
> > >             {
> > >               "fullName":"test",
> > >               "name":"test",
> > >               "type":"GLOBAL_TARGET"
> > >             },
> > 
> > 
> > A nice-to-have would be a pointer to where the target got created, is
> > that feasible? That would allow an IDE to add a context menu to the
> > target list to jump to the CMakeLists.txt to edit the target.
> 
> 
> Stephen's work has lots of debugging features. It should be straight forward
> to figure out the location with those. So I am not sure it makes sense to
> add this here. Users sometimes define their targets in ways that are way
> too challenging to figure out with the little information available here
> (think macros and whatnot).

Getting the source directory of a target should be reliable and a useful 
information I guess ?

Alex



More information about the cmake-developers mailing list