From kde-buildsystem Fri Jul 20 08:11:41 2007 From: Ralf Habacker Date: Fri, 20 Jul 2007 08:11:41 +0000 To: kde-buildsystem Subject: Re: macro kde4_install_library Message-Id: <46A06E3D.1040504 () freenet ! de> X-MARC-Message: https://marc.info/?l=kde-buildsystem&m=118491913826768 Alexander Neundorf schrieb: > Hi PutHuhn, > > On Monday 16 July 2007 11:49, Nhuh Put wrote: > >> Hello >> With default calls to install, shared libraries are installed into >> LIB_INSTALL_DIR. This is fine for linux, but on windows, they should go >> into BIN_INSTALL_DIR. The install function of cmake supports this with the >> RUNTIME DESTINATION and LIBRARY DESTINATION options. >> To make things simpler, I would like to add a macro called >> kde4_install_library for this. >> Usage would be kde4_install_library( kdecore ) for example. >> > > thanks for the patch. > I'm not sure what to do about this. > Actually I like the previous (long) version better, where the full INSTALL() > syntax is used everywhere. > With the current patch we introduce another macro which hides a bit what is > actually going on. > > Which has the advantage that special library install handling would be possible on a common place. > Maybe we should ask on kde-core-devel if there are objections against using > the full INSTALL() syntax. > > In cmake 2.4.7 changelog i found: * Allow for platform choice of executable shared libs install I understand that there is now an option to set something like this, unfortunally I haven't found any documentation about this option. Ralf _______________________________________________ Kde-buildsystem mailing list Kde-buildsystem@kde.org https://mail.kde.org/mailman/listinfo/kde-buildsystem