[go: up one dir, main page]

|
|
Log in / Subscribe / Register

Why the KDE project switched to CMake -- and how (continued)

Why the KDE project switched to CMake -- and how (continued)

Posted Jul 5, 2006 22:23 UTC (Wed) by emptty (guest, #38831)
Parent article: Why the KDE project switched to CMake -- and how (continued)

I am wondering about the availability of the cmake tool itself. The nice thing about autotools is that they generate plainly portable shell script. I agree that it does not solve the portability to windows and macosx well, but to port software to some exotic platform like AIX or simply solaris, it is precious.

I'm not denigrating cmake here, I just want to see if this tool is adapted to my own need.


to post comments

Why the KDE project switched to CMake -- and how (continued)

Posted Jul 6, 2006 1:44 UTC (Thu) by zlynx (guest, #2285) [Link]

For a project like KDE, the amount of changes needed in the KDE code itself to port to a platform like AIX dwarfs the amount of code changes needed to make CMake run on that platform. So if it makes work easier on the common platforms, it is a better deal, and ports can still be done by porting CMake first.

As for autotools I have never seen them be that useful in porting. Sure, autotools may run on all sorts of systems but nothing out there tells you what autotools tests and variables your code needs to be checking for portability.

For example, assuming select() returns the remaining time from a timeout. If you develop on Linux and rely on that feature, then port to another Unix, autotools may have a test to detect that for you but you have to try the port and find the problem first before you even know you need it.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds