Re: CMake 3+, C++11 in Kopete
Pali Rohár <[email protected]> Tue, 16 May 2017 10:31:24 +0200
| Newsgroups | gmane.comp.kde.devel.kopete |
|---|---|
| Message-ID | <20170516083124.GB10015@pali> |
On Sunday 14 May 2017 16:08:10 Paulo Lieuthier wrote: > Hi everyone, Hi! > Is there a reason not to upgrade to CMake 3.0.2 or to use C++11 in Kopete code, > following KDE general path (both cmake 3.0.2 and C++11-capable GCC are present > in Debian stable repositories)? Reason is historical. In time when CMakeLists.txt files were written CMake 3.0 have not existed yet. Same for C++11. About CMake 3.0 important question is: Is there any problem with current CMakeLists.txt files that it is needed to rewrite them? Is not CMake 3.0 backward compatible with CMake 2.x? Or what is reason for rewriting them? About C++11... I do not see problem to start using, but I dislike mixing style of C++98 and C++11 in one class/component. So for new code it is OK. But adding C++11 constructs into random places in C++98 files is bad. > I'm working in Kopete for GSoC (history plugin), and will be sending my schedule > in the next days. I have been studying the code and wonderind why is that. Maybe > that is supposed to come only with the KF5 port? Montel should know more about KF5 port. > If I was willing to upgrade to Kopete as part of my GSoC project, even before > Qt5/KF5, would it be welcome? -- Pali Rohár [email protected]