Hi ! An'n Maandag 07 Mai 2007 hett Vladimir Prus schreven:
Eric Niebler wrote:
CMake generates native makefiles and workspaces that can be used in the compiler environment of your choice. CMake is quite sophisticated: it is possible to support complex environments requiring system configuration, pre-processor generation, code generation, and template instantiation.
With some effort ;-))
With CMake, we could deliver makefiles and vc project files, so people can use their own build environments instead of having to learn ours. I think this would remove a barrier to Boost's adoption. This article describes the experience of the KDE team switching to CMake:
http://dot.kde.org/1172083974/
Caveat: I haven't actually used CMake. I'd need to investigate it.
Well, especially supporting vc project files turns out to be quite hard ;-)) Makefiles are quite easy (on Unix)...
I'd like to note that it's not like KDE took CMake and magically started building. Quite some effort went into that, and I believe CMake changes were also requires, so at some point you could not build KDE with any released CMake version.
Therefore, he who wants to "investigate" CMake is probably up to some serious work, not just a weekend project.
Yes, you get quick results very fast. My points: -CTest does not support "failed" tests (aka compile-fail, link-fail, run-fail) -CTest does not support "compile" and "link" only tests. CMake has only a default set of four (4) default built variants. and quite a few other points I can assemble on demand ;-)) On the other hand, CMake's package detection support is quite sophisticated, which is one of the reasons KDE adopted CMake. Just some .02€., Yours, Jürgen -- * Dipl.-Math. Jürgen Hunold ! Ingenieurgesellschaft für * voice: ++49 511 262926 57 ! Verkehrs- und Eisenbahnwesen mbH * fax : ++49 511 262926 99 ! Lister Straße 15 * juergen.hunold@ivembh.de ! www.ivembh.de * * Geschäftsführer: ! Sitz des Unternehmens: Hannover * Prof. Dr.-Ing. Thomas Siefer ! Amtsgericht Hannover, HRB 56965 * PD Dr.-Ing. Alfons Radtke !