ANNOUNCE: experimental support for building kdelibs 4 with cmake

Kurt Pfeifle k1pfeifle at gmx.net
Sun Jan 29 20:29:10 GMT 2006


On Sunday 29 January 2006 18:47, Alexander Neundorf wrote:
> On Sunday 29 January 2006 20:32, Kurt Pfeifle wrote:
> ...
> > Nope. No joy.
> ...
> > kdev4-[SCR]@horizon:~/src/kde40svn/trunk/KDE/kdelibs> mkdir -p
> > ../build/kdelibs
> >
> > kdev4-[SCR]@horizon:~/src/kde40svn/trunk/KDE/kdelibs> cd ../build/kdelibs
> >
> > kdev4-[SCR]@horizon:~/src/kde40svn/trunk/KDE/build/kdelibs> time cmake
> > ../../kdelibs -- This is a SVN repository
> > -- Using Buildname: Linux-c++
> > -- Found Qt-Version ..
> > -- Building kdelibs...
> > -- Found KDE4 include dir: /home/kdev4/src/kde40svn/trunk/KDE/kdelibs
> ...
> > running /usr/bin/perl
> > /home/kdev4/src/kde40svn/trunk/KDE/kdelibs/kate/data/generate-php.pl <
> > /home/kdev4/src/kde40svn/trunk/KDE/kdelibs/kate/data/html.xml >
> > /home/kdev4/src/kde40svn/trunk/KDE/kdelibs/kate/data/html-php.xml  2>&1 --
> > Configuring done
> > -- Generating done
> > -- Build files have been written to:
> > /home/kdev4/src/kde40svn/trunk/KDE/kdelibs real    0m49.022s
> > user    0m9.106s
> > sys     0m1.444s
> >
> > kdev4-[SCR]@horizon:~/src/kde40svn/trunk/KDE/build/kdelibs> time make
> > make: *** No targets specified and no makefile found.  Stop.
> > real    0m0.004s
> > user    0m0.001s
> > sys     0m0.002s
> >
> > --------------------- snip ------------------------------------------
> >
> > "cmake ../../kdelibs" also reported "Build files have been written to:
> > /home/kdev4/src/kde40svn/trunk/KDE/kdelibs", so this seems at least to
> > be consistent...
> 
> 
> Did you run cmake before this already at least once  
> in /home/kdev4/src/kde40svn/trunk/KDE/kdelibs ? 

Yes.

> Then a CMakeCache.txt has  
> been created there and running cmake again doesn't change the settings. To 
> use a different generator or a different build directory you have to delete 
> CMakeCache.txt first. So, delete
> /home/kdev4/src/kde40svn/trunk/KDE/kdelibs/CMakeCache.txt and then run cmake 
> again from ~/src/kde40svn/trunk/KDE/build/kdelibs/ .

Now it works. Thanks.

Cheers,
Kurt




More information about the kde-core-devel mailing list