AW: Install dlls to /bin

Ralf Habacker ralf.habacker at freenet.de
Fri Jul 13 14:02:54 CEST 2007


Nhuh Put schrieb:
> This is from cmake help:
> The short version is, on linux, everything is treated as a library, only on
> Windows, dlls are treated as runtime. 
>
>   
Thanks for this pointer. I have tried it with a testcase and it works as
expected. The only problem left is that *every* install statement has to
be patched. Any idea how solve this, may be setting something on a
common place ?

Ralf

> -----Ursprüngliche Nachricht-----
> Von: ralf.habacker at freenet.de [mailto:ralf.habacker at freenet.de] 
> Gesendet: Freitag, 13. Juli 2007 13:26
> An: nhuh.put at web.de; KDE on Windows
> Betreff: Re: Install dlls to /bin
>
> Nhuh Put schrieb:
>   
>> Hello
>> This patch changes the default installation directory for dll files from
>> /lib to /bin on Windows.
>>
>> 	PutHuhn
>>   
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Kde-windows mailing list
>> Kde-windows at kde.org
>> https://mail.kde.org/mailman/listinfo/kde-windows
>>   
>>     
> Thanks for your effort. Do you have thought about the fact that if we
> apply this patch it breaks installation on unix ?
> On unix is must be
>
> +install(TARGETS kdeinit_kconf_update
> +             RUNTIME DESTINATION ${LIB_INSTALL_DIR}
> +             LIBRARY DESTINATION ${LIB_INSTALL_DIR}
> +             ARCHIVE DESTINATION ${LIB_INSTALL_DIR}
>
> which is done by the command 
>
> install(TARGETS kdeinit_kconf_update  DESTINATION ${LIB_INSTALL_DIR} )
>
> it is required to do something like this
>
> +install(TARGETS kdeinit_kconf_update
> +             RUNTIME DESTINATION ${LIB_RUNTIME_INSTALL_DIR}
> +             LIBRARY DESTINATION ${LIB_INSTALL_DIR}
> +             ARCHIVE DESTINATION ${LIB_INSTALL_DIR}
>
> and to set LIB_RUNTIME_INSTALL_DIR on a central place depending on the os.
>
> I've redirected this mail to kde-buildsystem. Probably they can say more
> how to solve the problem.
>
> Ralf
>
>   





More information about the Kde-windows mailing list