KDEInstallDirs.cmake in extra-cmake-modules
neundorf at kde.org
Fri Feb 17 17:50:53 UTC 2012
On Friday 17 February 2012, Alexander Neundorf wrote:
> On Thursday 16 February 2012, Stephen Kelly wrote:
> > Alexander Neundorf wrote:
> > > Hi,
> > >
> > > I added today a KDEInstallDirs.cmake to extra-cmake-modules, and
> > > increased the version number to 0.0.3.
> > >
> > > Please have a look at it.
> > Looks pretty much as discussed before, thanks.
> > > Compared to what is in FindKDE4Internal.cmake
> > > * I removed those directories which are not used, according to David
> > > * all install dirs are relative by default
> > > * 64bit and also Debian multiarch is taken into account
> > > * LIB_SUFFIX doesn't exist anymore, simply set LIB_INSTALL_DIR if the
> > > default is wrong (it shouldn't be wrong)
> > Looks good. I do still think that we should be separating 'kde stuff'
> > from stuff that makes sense in general (this lib install dir prefix
> > stuff should be used everywhere for example, but only kde wants
> > KCFG_INSTALL_DIR).
> See it this way: GNUInstallDirs.cmake contains the install dirs used and
> recommended by GNU (applications), KDEInstallDirs.cmake contains the
> install dirs used and recommended by KDE (applications).
> So, whoever is fine with the subset what is in GNUInstallDirs.cmake, can
> use that, who needs more, can use KDEInstallDirs.cmake.
> > However, if that really becomes an issue we should be able to split out
> > the useful stuff in the future if needed.
> > > It still has the feature to pick up the variables from a package which
> > > has been installed before to the same prefix (i.e. "kdelibs"), which I
> > > think we want to keep.
> ...and which opens the interesting question: which package will set those
> defaults when being installed ?
> It is not e-c-m.
Maybe we can build something so that whoever installs first into some prefix,
also installs a file which only holds those directories, so whoever installs
afterwards into the same prefix, gets the same install directories.
More information about the Kde-buildsystem