struggling to build KDev4

Manuel Breugelmans mbr.nxi at gmail.com
Fri Aug 22 17:02:51 UTC 2008


On Friday 22 August 2008 18:37:24 Marek Jasovsky wrote:
> Hi
>
> I have successfully built kdelibs (trunk) into $HOME/kde4 but now I am
> not sure, how to tell cmake (for kdevplatform) that it should use
> kdelibs from $HOME/kde4 and not from original locations. how should I
> do this?
>

I have a similar setup as yours, openSUSE KDE 4.1 installed system-wide and 
trunk kdelibs + kdev{elop,platform} in home.

To compile kdevplatform:

export KDEDIRS=$HOME/kde4/ && cmake .. -DCMAKE_INSTALL_PREFIX=$HOME/kde4/

To compile kdevelop:

export KDEDIRS=$HOME/kde4/ && \
cmake .. -DCMAKE_INSTALL_PREFIX=$HOME/kde4/ \
             -DCMAKE_MODULE_PATH=$HOME/kde4/ \
             -DKDEVPLATFORM_INCLUDE_DIR=$HOME/kde4/include/kdevplatform \
             -DKDEVPLATFORM_LIBRARY_DIR=$HOME/kde4/lib/

Some of those defines are probably redundant, you'd have to ask a cmake guru.


Manuel




More information about the KDevelop-devel mailing list