macro kde4_install_library

Ralf Habacker ralf.habacker at freenet.de
Fri Jul 20 10:11:41 CEST 2007


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



More information about the Kde-buildsystem mailing list