[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kwrite-devel
Subject:    Re: Build plugin & Projects
From:       Alexander Neundorf <neundorf () kde ! org>
Date:       2023-08-31 19:32:25
Message-ID: 1960737.usQuhbGJ8B () unknownc4d9870202f1
[Download RAW message or body]

On Mittwoch, 30. August 2023 07:20:13 CEST christoph@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

[Attachment #3 (unknown)]

<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">On \
Mittwoch, 30. August 2023 07:20:13 CEST christoph@cullmann.io wrote:</p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; On 2023-08-29 \
23:23, Alexander Neundorf wrote:</p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; On \
Donnerstag, 17. August 2023 20:08:46 CEST Kåre Särs wrote:</p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt;&gt; \
Hi,</p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; \
&gt;&gt; </p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; \
&gt;&gt; Some time ago I got an eye opener... A lot of people do not use</p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt;&gt; \
sessions!!!??? The build plugin right now is close to worthless</p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt;&gt; \
without</p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; \
&gt;&gt; sessions.</p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; </p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; no, it's \
not.</p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; \
&gt; When you use the cmake-generated kate projects, kate reads the project</p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; \
settings, which includes settings for the build plugin.</p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; </p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; This \
should just work.</p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; </p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; Hi,</p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; </p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; That is true, \
but unfortunately CMake will remove that soon.</p> <br /><p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">well, in cmake \
3.27 it has been marked as &quot;deprecated&quot;, nevertheless it gained some \
features :-)</p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Not \
sure when it will actually be removed.</p> <br /><p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">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:</p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><a \
href="https://cmake.org/cmake/help/latest/manual/cmake-file-api.7.html">https://cmake.org/cmake/help/latest/manual/cmake-file-api.7.html</a></p>
 <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Alex</p>
<br /></body>
</html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic