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

List:       kde-devel
Subject:    We need to remove exec_program() from our Cmake files
From:       Ömer Fadıl USTA <omerusta () gmail ! com>
Date:       2023-10-26 1:49:57
Message-ID: CAATbBR3hjzX7Xs6QS-p1Y3n7h-ibAJX=wV5G-uqA+581pV4SLw () mail ! gmail ! com
[Download RAW message or body]

We need to hurry to remove exec_program(....) from our cmake files because
It will be removed with the upcoming CMake's 3.28.0 version which is really
near to release. ( Just 2 hours ago its rc3 was released ).
And from a quick search for our repo ( with ripgrep) I have seen that we
got at least 18 repo using that execure_program(...)

CMake Release Notes :
https://cmake.org/cmake/help/v3.28/release/3.28.html#deprecated-and-removed=
-features

```
The exec_program()
<https://cmake.org/cmake/help/v3.28/command/exec_program.html#command:exec_=
program>
command, which has been deprecated since CMake 3.0, has been removed by
policy CMP0153
<https://cmake.org/cmake/help/v3.28/policy/CMP0153.html#policy:CMP0153>.
Use the execute_process()
<https://cmake.org/cmake/help/v3.28/command/execute_process.html#command:ex=
ecute_process>
command instead.
```


[Sorry for cross post to kde-devel and kde-core-devel ]

=C3=96mer Fad=C4=B1l Usta
PGP key : 0xfd11561976b1690b
about.me/omerusta

[Attachment #3 (text/html)]

<div dir="ltr"><div>We need to hurry to remove exec_program(....) from our cmake \
files because It will be removed with the upcoming CMake&#39;s 3.28.0 version which \
is really near to release. ( Just 2 hours ago its rc3 was released \
).
</div><div>And from a quick search for our repo ( with ripgrep) I have seen that \
we got at least 18 repo using that \
execure_program(...)</div><div><br></div><div>CMake Release Notes : <a \
href="https://cmake.org/cmake/help/v3.28/release/3.28.html#deprecated-and-removed-feat \
ures">https://cmake.org/cmake/help/v3.28/release/3.28.html#deprecated-and-removed-features</a></div><div><br></div><div>```</div><div>The \
<span class="gmail-target" id="gmail-index-0-command:exec_program"></span><a \
class="gmail-reference gmail-internal" \
href="https://cmake.org/cmake/help/v3.28/command/exec_program.html#command:exec_program" \
title="exec_program"><code class="gmail-xref gmail-cmake gmail-cmake-command \
gmail-docutils gmail-literal gmail-notranslate"><span \
class="gmail-pre">exec_program()</span></code></a> command, which has been deprecated \
since CMake 3.0, has been removed by policy <span class="gmail-target" \
id="gmail-index-0-policy:CMP0153"></span><a class="gmail-reference gmail-internal" \
href="https://cmake.org/cmake/help/v3.28/policy/CMP0153.html#policy:CMP0153" \
title="CMP0153"><code class="gmail-xref gmail-cmake gmail-cmake-policy gmail-docutils \
gmail-literal gmail-notranslate"><span class="gmail-pre">CMP0153</span></code></a>. \
Use the <span class="gmail-target" \
id="gmail-index-0-command:execute_process"></span><a class="gmail-reference \
gmail-internal" href="https://cmake.org/cmake/help/v3.28/command/execute_process.html#command:execute_process" \
title="execute_process"><code class="gmail-xref gmail-cmake gmail-cmake-command \
gmail-docutils gmail-literal gmail-notranslate"><span \
class="gmail-pre">execute_process()</span></code></a> command \
instead.</div><div>```<br></div><div><br></div><div><br></div><div>[Sorry for cross \
post to kde-devel and kde-core-devel ]<br></div><div><div dir="ltr" \
class="gmail_signature" data-smartmail="gmail_signature"><br>Ömer Fadıl Usta<br>PGP \
key : 0xfd11561976b1690b<br><a href="http://about.me/omerusta" \
target="_blank">about.me/omerusta</a><br></div></div></div>



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

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