Build plugin & Projects

Alexander Neundorf neundorf at kde.org
Thu Aug 31 20:32:25 BST 2023


On Mittwoch, 30. August 2023 07:20:13 CEST christoph at cullmann.io wrote:
> On 2023-08-29 23:23, Alexander Neundorf wrote:
> > On Donnerstag, 17. August 2023 20:08:46 CEST Kåre Särs wrote:
> >> Hi,
> >> 
> >> Some time ago I got an eye opener... A lot of people do not use
> >> sessions!!!??? The build plugin right now is close to worthless
> >> without
> >> sessions.
> > 
> > no, it's not.
> > When you use the cmake-generated kate projects, kate reads the project
> > settings, which includes settings for the build plugin.
> > 
> > This should just work.
> 
> Hi,
> 
> That is true, but unfortunately CMake will remove that soon.

well, in cmake 3.27 it has been marked as "deprecated", nevertheless it gained some 
features :-)
Not sure when it will actually be removed.

That said, we should try to build support for the cmake file API, which exports buildsystem 
information in json files, so kate knows the source- and build directory, the source files, 
and the targets:
https://cmake.org/cmake/help/latest/manual/cmake-file-api.7.html[1]

Alex


--------
[1] https://cmake.org/cmake/help/latest/manual/cmake-file-api.7.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20230831/232687db/attachment.htm>


More information about the KWrite-Devel mailing list