minimum required CMake version for 5.2 and master

Aleix Pol aleixpol at kde.org
Tue Sep 5 17:08:35 UTC 2017


On Tue, Sep 5, 2017 at 4:24 PM, René J.V. Bertin <rjvbertin at gmail.com> wrote:
> On Tuesday September 05 2017 15:53:41 Kevin Funk wrote:
>
>> KDevelop should work fine with older CMake (right, Aleix?). If not, please
>> report a bug.
>
> Already did quite a while back when I first stumbled upon the server feature in the master branch and it turned out not to work with the way I work because of issues in CMake. I forget the details, but the verdict back then was basically "wait until at least CMake 3.8".
>
>> That check would be done at the wrong time -- during configure time, which
>> doesn't even need to happen on the end user's machine.
>>
>> The end user potentially can use a completely different (maybe self-installed)
>> CMake binary.
>
> Of course, but is that really a problem? It's not like CMake has a load of dependencies which make it non trivial or is otherwise expensive to keep up to date - and keeping it up to date is probably a good idea.
>
> This isn't unlike checking runtime dependencies against a minimal supported version, it's not uncommon to do that in the buildsystem, no?
>
> R.

Older versions should work, except for 3.7.1 specifically (or 3.7.0 I
don't remember exactly). I'd assume everyone to have 3.7.2 at least so
that shouldn't be a problem at all.

Aleix


More information about the KDevelop-devel mailing list