Default install dir

Matt Rogers mattr at kde.org
Sun Mar 19 18:00:15 CET 2006


On Sunday 19 March 2006 10:50, Albert Astals Cid wrote:
> A Diumenge 19 Març 2006 17:44, Matt Rogers va escriure:
> > On Sunday 19 March 2006 10:17, Albert Astals Cid wrote:
> > > Hi, previously when using configure i could define the environment
> > > variable
> > >
> > > $ echo $KDEDIR
> > > /home/kdesvn/instalado
> > >
> > > and then configure already detected i wanted to install KDE there so i
> > > did not have to write
> > >
> > > ./configure --prefix=/home/kdesvn/instalado
> > >
> > > each time.
> > >
> > > Is it possible to make cmake support the same feature?
> > >
> > > Albert
> >
> > http://wiki.kde.org/tiki-index.php?page=KDECMakeIntro
> >
> > says use CMAKE_INSTALL_PREFIX
> >
> > so something like
> >
> > cmake -DCMAKE_INSTALL_PREFIX=/home/kdesvn/instalado
>
> Is my english that bad :-/ ?
>
> What i want is that cmake automatically detects the default install dir
> using $KDEDIR, so i don't have to do 
> -DCMAKE_INSTALL_PREFIX=/home/kdesvn/instalado each time.
>
> Albert
>
> > will work.
> > --
> > Matt

no, i just misread what you wanted. However, AFAIK, running cmake is like 
running 'make -f Makefile.cvs' so you won't have run cmake very often. Would 
be nice though. :)
--
Matt


More information about the Kde-buildsystem mailing list