where to install the cmake files to ?

David Faure faure at kde.org
Fri Feb 17 17:56:27 CET 2006


On Friday 17 February 2006 17:49, Alexander Neundorf wrote:
> On Friday 17 February 2006 09:53, Stephan Kulow wrote:
> > Am Freitag, 17. Februar 2006 08:19 schrieb Laurent Montel:
> > > > I think we shouldn't install them at all. we don't install anything
> > > > from admin, why should cmake be any different?
> > >
> > > Right. I don't think that it's necessary to install them.
> > > We can create link into svn as for admin directory.
> >
> > No no! We want to install them - the admin directory has to be distributed
> > with every kapp. No reason to repeat that mistake. Only have a bare minimum
> > of a copy in kapp (including kdebase), let it find kdelibs and then go from
> > there.
> 
> Yes, that was my intention.
> I decided now for ${CMAKE_INSTALL_PREFIX}/share/apps/cmake/modules/.
> 
> Ok ?

Looks fine, but we need to handle the case where the prefixes differ.
If your cmake is in /usr and installed by root,
and you install kdelibs as user into your home dir, then the cmake modules
go into your home dir, not into the cmake dir, right?
Then it's good - all that's needed is to be able to find them there....
so we will probably need a piece of cmake configuration in every module
which looks up the kde prefix, e.g. using kde-config.

But I would personally concentrate on cleaning up the CMakeLists.txt in 
kdelibs before expanding it to other modules, although it's good to think
about the problem of course :)

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).


More information about the Kde-buildsystem mailing list