Re: Build plugin & Projects

Alexander Neundorf <[email protected]> Thu, 31 Aug 2023 21:32:25 +0200
Newsgroups gmane.comp.kde.devel.kwrite
Message-ID <1960737.usQuhbGJ8B@unknownc4d9870202f1>
On Mittwoch, 30. August 2023 07:20:13 CEST [email protected] 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