[cairo] CMake

Luca Barbato lu_zero at gentoo.org
Thu May 1 01:25:07 PDT 2008

Jason G wrote:
> I am a big fan of cmake and the first thing I did after I downloaded
> cairo and ran the configure script (to make a config.h) is create a
> cmake project file.
> The two best IDEs (Codeblocks & Visual Studio) depend on project files
> that can be created by cmake.
> Just my 2 cents.

My experience hadn't been as positive. The only point of interest is the 
ability to create project files targeting specific IDEs, but it isn't 
exactly a compelling feature for people not using them. I found it a bit 
more complex to extract how to enable and disable optional features and 
how to pass specific override than autoconf generated configure and 
overally I found the syntax less pleasant, ok, it's a matter of taste.

Using a source based distribution I could also add that cmake takes 
quite a bit of time to build and has less than expected dependencies, 
thus making it even less interesting in my eyes, again quite a personal 
view on it, I know.

Most of the issues people have with autotools are related either due 
different frame of mind (IDE users, windows users) or superficial use of 
the toolset (blind copy&paste, custom code in automake files that could 
be replaced with standard targets). I'm currently having a look at 
Quagmire since seems an interesting alternative to automake.



Luca Barbato
Gentoo Council Member
Gentoo/linux Gentoo/PPC

More information about the cairo mailing list