I'll cut to my personal conclusions:
- cmake would need lots of GNOME-specific extra modules written (for instance gnome-doc-utils) and POTFILES support.
- cmake is fast to configure and build and has pretty output
- cmake syntax is much more concise and easy to learn than m4
- It's not obvious how you enable make dist or make check, although I'm new to all this
- cmake has an optional gui based (easier to use in my opinion) configuration system.
- Lots of useful modules have already been written, for example pkg_check_modules
- Executing stuff like "libtool --mode=execute dbus-binding-tool" is quite difficult, although this should probably be wrapped up and abstracted in a module.
- There are not that many standards in cmake, for example do you include directories before or after you've checked for dependencies? There would need to be GNOME guidelines on this sort of stuff.
- The supplied examples are really simple, which don't help much.
- It's a single system-wide install leaving single CMakeLists.txt in each directory. Very clean.
- It's an established product with many people supporting it.
So, anybody had any good or bad experiences with cmake? Thanks.
Anonymous
January 5 2007, 16:53:38 UTC 5 years ago
scons
In my company, we were looking for an automake replacement and after several investigations (cons, cmake...) we have found a great tool in scons.http://www.scons.org/
Try it and you will understand why this tool is awesome.
January 5 2007, 17:10:08 UTC 5 years ago
Re: scons
Yes, I agree scons is great for building small projects, but is not a suitable automake replacement. It just hasn't got the infrastructure support. I played with scons seriously for gnome-power-manager a year or so ago, and it wasn't suitable. Maybe I'll have to re-evaluate it today.January 5 2007, 17:33:39 UTC 5 years ago
an example
Just ask the developers of Scribus :) For me as a packager it helped with many autohell issues like inproper linking, etc. which strangely didn't want to work in PLD Linux....January 9 2007, 20:34:45 UTC 5 years ago
Help from CMake developers
Hi,I found your blog, I am one of the principal developers of CMake, I am of course interested in GNOME using CMake. If you need any help you can find me on the cmake mailing list.
-Bill Hoffman
January 13 2007, 17:20:03 UTC 5 years ago
Re: Help from CMake developers
Will do, many thanks.Anonymous
January 12 2007, 20:47:19 UTC 5 years ago
The need of change
I think that the autotools systems are TOO ANCIENT! I am a .NET developer interested in switching and contributing into open source and I hope that CMake gets adopted! Because autotools is so hard to learn and mantain... :(January 28 2007, 14:18:34 UTC 5 years ago
CMakeLists.txt for gnome-power-manager
Is the CMakeLists.txt file for gnome-power-manager available for the general public?