&cmake;, the &kde; build systemIntroduction to &cmake;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; had used from the beginning.A introduction to &cmake; page is available on the &kde; Community Wiki.
Basically, instead of running makeMakefile.cvs, then configure,
then &make;, we simply run &cmake; and then &make;.
&kdesrc-build; has support for &cmake;. A few features of &kdesrc-build;
were really features of the underlying buildsystem, including
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, and the
do-not-compile option is also supported for &cmake;
as of &kdesrc-build; version 1.6.3.