
In March 2006, the CMake program beat out several competitors and was selected to be the build system for KDE 4, replacing the autotools-based system that KDE has used from the beginning.
A introduction to CMake page is available on the KDE Wiki.
Basically, instead of running make , then configure,
then Unsermake (or Make), we simply run CMake and then Make.
-f
Makefile.cvs
Kdesvn-build has initial support for CMake. A few features of Kdesvn-build were really features of the underlying buildsystem, including inst-apps, configure-flags, and do-not-compile. When equivalent features are available, they are provided. For instance, the equivalent to the configure-flags option is cmake-options.
However, some options, like inst-apps or do-not-compile, have no direct equivalent, and are disabled. Should I find a way to implement them with CMake I will do so and re-enable the option. However, more or less everything works the same.
Not all of KDE has been ported to use CMake at this point. For example, the apidox option is rather useless until the equivalent infrastructure is ready. I have tried to warn about such things but not all deficiencies may be caught by Kdesvn-build for now.
Would you like to make a comment or contribute an update to this page?
Send feedback to the KDE Docs Team