Updating KDE Frameworks minimum cmake requirements to 3.23
Albert Astals Cid
aacid at kde.org
Mon Dec 15 08:40:57 GMT 2025
El dilluns, 15 de desembre del 2025, a les 4:18:01 (Hora estàndard d’Europa
central), Ömer Fadıl USTA va escriure:
> I had made similar proposal for 3.22 around 8-9 months ago and due to my
> mistakes about terminology that time you scolded/harshed me :)
> [ It is not a big problem and i accept the mistakes which i had done and
> sorry for saying KDE instead of KDE Plasma/Frameworks ]
> https://mail.kde.org/pipermail/kde-core-devel/2025-March/092409.html
Making mistakes is fine, we all make them.
I was expecting you to answer saying, "Yes, I mean KDE Plasma and the reason I
want to update the required cmake version is XYZ".
When updating minimum versions we need a reason (much easier if the reason is
"the policy says so")
> My 2 cents are +1 for this proposal.
>
> On the other hand VERIFY_INTERFACE_HEADER_SETS looks like added in 3.24 not
> 3.23 :
> https://cmake.org/cmake/help/latest/prop_tgt/VERIFY_INTERFACE_HEADER_SETS.ht
> ml#prop_tgt:VERIFY_INTERFACE_HEADER_SETS So if is it possible could it be
> 3.24 to make everything butter smooth ?
Right, i miscounted, should be 3.24.
But see my other email for a policy :)
Cheers,
Albert
>
>
> Ömer Fadıl Usta
> PGP key : 0xfd11561976b1690b
> about.me/omerusta
>
>
> Albert Astals Cid <aacid at kde.org>, 15 Ara 2025 Pzt, 01:46 tarihinde şunu
>
> yazdı:
> > I would like to increase cmake requirement of KDE Frameworks to 3.23.
> >
> > This way we can use CMAKE_VERIFY_INTERFACE_HEADER_SETS that checks that
> > each
> > of the headers is "compilable" on its own.
> >
> > Proof of concept on
> > https://invent.kde.org/frameworks/karchive/-/merge_requests/80
> >
> > Where i have changed the code so that it compiles but so that kar.h would
> > not
> > be "compilable" on it's own.
> >
> > I'm mostly sure that our headers are possibly good, but some extra
> > checking
> > does not hurt.
> >
> > cmake 3.23 was released on July 2022.
> >
> > Looking at https://repology.org/project/cmake/badges it seems it should
> > not be
> > problematic at all.
> >
> > What do you all think?
> >
> > Cheers,
> >
> > Albert
> >
> > P.S: I guess it'd be better to come up with a policy but I had no idea
> > what to
> > suggest :D
More information about the Kde-frameworks-devel
mailing list