Requiring CMake >= 2.6.0 for svn trunk starting August 4th
starting August 4th, i.e. Monday in 2 weeks, CMake >= 2.6.0 will be required to build KDE from svn trunk, which will become KDE 4.2 in a few months.
So please update your CMake.
or the binary package, which should work on about every Linux distribution:
Here is the full download page:
What will this bring us ?
So many things went into 2.6.0, actually more than I can remember. Just a
-the env. variable CMAKE_PREFIX_PATH, which is used by the FIND_XXX() commands to find installed software (i.e. if you installed kdelibs under the prefix /opt/kdelibs and kdesupport under /opt/kdesupport, set CMAKE_PREFIX_PATH to /opt/kdesupport:/opt/kdelibs and it will be found)
-support for cross compiling, let's see if that helps with getting KDE on small devices
-defining the "link interface" of libraries, so we can limit the indirect dependencies of libs
-much shorter delay between entering "make" and when the first target is built (now a O(N) algorithm instead O(N^2) )
-libraries are linked to with the full path instead of relying on the correct order of the -L and -l flags
-a Qt GUI for configuring projects, editing the cache etc. ("cmake-gui")
-much faster installation, no relinking needed anymore, the RPATH is now patched directly in the binaries
-support for OSX library frameworks, let's see if we want to use that for our libs like kdecore
-improved packaging support, including RPM and DEB packages (still quite early, so needs tester)
-support for creating Eclipse and Code::Blocks projects
-improved documentation, now also for cmake variables and properties, split into separate man pages, and now also supports creating documentation for custom cmake modules (see http://api.kde.org/cmake/modules.html)
-bug fixes, minor features, and everything I forgot...
P.S. the last new cmake version we required was 2.4.5 on March 19th, 2007, i.e. 16 months ago, so I think we did quite good with that :-)
is the assert fixed when a file (like foo.cpp) is added in the cmake file, but is missing on the filesystem?
CMake 2.6.0 aborts with an assert in this case.
2.4.x and 2.6.1 (which will be released RSN) just stop with a CMake error.