ANNOUNCE: experimental support for building kdelibs 4 with cmake

Jaison Lee lee.jaison at gmail.com
Mon Jan 16 04:34:25 CET 2006


> 2) check out trunk/KDE/kdesdk/cmake
> This directory contains the cmake scripts (in cmake language: "modules")
> needed to compile KDE using cmake. Installation is still manual: copy the
> files you find in kde3/, kde4/ and modules/ all directly into the system
> cmake module directory (usually /usr/local/share/CMake/Modules/ ), not into
> subdirectories !

For those of you unwilling to compromise write access or clutter your
new cmake directory, I found that you can pass module paths via a
semi-colon separated command line switch "-D". Like so:

cmake -DCMAKE_MODULE_PATH:PATH="/path/to/kdesdk/cmake/kde4/;/path/to/kdesdk/cmake/modules/"

Or at least that really seems to work. ;p


More information about the Kde-buildsystem mailing list