trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: September 2010

Re: [trinity-devel] migration kdelibs to cmake progress

From: Serghei Amelian <serghei@...>
Date: Sun, 12 Sep 2010 13:58:08 +0300
On Sunday 12 September 2010 04:50:00 Timothy Pearson wrote:
> > Hello,
> >
> > There is tree with finished cmake scripts (CMakeLists.txt files are
> > clickable):
> >
> > http://www.thel.ro/trinity/kdelibs.html
> >
> > --
> > Serghei
>
> Looks good.  What command(s) would I use to build kdelibs after importing
> these files into my kdelibs source tree?  (I am not yet familiar with the
> CMake system).
>
> Thanks!
>
> Tim

For example (this out-of-source building):

mkdir /tmp/kdelibs.build
cd /tmp/kdelibs.build
cmake /path/to/kdelibs/source
	-DCMAKE_INSTALL_PREFIX=/usr/kde/3.5 \
	-DWITH_LIBART=off -DWITH_LIBIDN=on \
	-DWITH_SUDO_KDESU_BACKEND=1
make
make install DESTDIR=/tmp/kdelibs.install

Later I will create a list with all possibile options (i will try to follow 
autotools configure).

-- 
Serghei