Supporting the CMake file API in the project/build plugin ?

Alexander Neundorf neundorf at kde.org
Fri Nov 24 16:32:42 GMT 2023


On Freitag, 24. November 2023 10:45:23 CET christoph at cullmann.io wrote:
> On 2023-11-23 23:31, Alexander Neundorf wrote:
> > On Donnerstag, 23. November 2023 19:56:00 CET christoph at cullmann.io
> > 
> > wrote:
> >> On 2023-11-20 22:23, Alexander Neundorf wrote:
> > ...
> > 
> >> > If the user has opened a file in the source tree before, and git/svn
> >> > auto projects are enabled, no cmake project will be created, i.e. no
> >> > build commands.
> >> > Should I add an explicit entry like "Open CMake build tree" or
> >> > something like this in the project menu ?
> >> 
> >> I would hope that 'open folder' works for that, I would rather not
> >> have an extra entry that just do the same.
> > 
> > I was not aware of that option and actually don't know when I should
> > use it.
> > What is it supposed to do ?
> 
> Hi,
> 
> it will tell the project plugin to open the folder as project and that
> should trigger all the current active git/svn/.... auto detections and
> if all fail open the stuff as plain 'recursive filesystem' project.

Thanks, I didn't know that.
But I'm afraid it doesn't change a lot.
To trigger the cmake file API stuff, a user will have to "open" the build 
directory, which normally probably nobody will do.

Alex





More information about the KWrite-Devel mailing list