[Debian-med-packaging] [CMake] Is it possible to set shared lib version info globally?

Mario Ceresa mrceresa at gmail.com
Tue Mar 2 12:55:21 UTC 2010


Hello Hendrik, hello Adolfo,
thanks a lot, this seems exactly the patch I was looking for.

Cheers,

Mario

On 2 March 2010 13:34, Hendrik Sattler <post at hendrik-sattler.de> wrote:
> Zitat von Mario Ceresa <mrceresa at gmail.com>:
>
>> Hello all,
>> thanks for the wonderful work with cmake: I've started using it in all
>> my projects!
>>
>> I'm trying to package VXL for Fedora and package guidelines require
>> all libs to be properly versioned.
>>
>> My problem is that the actual cmake build of the project produces only
>> unversioned shared lib (they are all lib*.so not lib*.so.xx).
>>
>> Is there a way to add version information globally, for all libraries?
>> Or do I have to manually search where each lib is generated and add
>> set_target_properties() to each?
>>
>> I'm sorry if I made a silly question, but I googled for a while and
>> found nothing
>
> Usually, you try to stay compatible with other distribution and thus look
> what they did:
> http://patch-tracker.debian.org/patch/series/view/vxl/1.13.0-2/vxl.soname.patch
>
> I've put the debian maintainers into CC, so you can talk with them directly.
>
> HS
>
>
>



More information about the Debian-med-packaging mailing list