How to use PROPERTIES VERSION and SOVERSION?

Dirk Mueller mueller at kde.org
Tue Apr 15 00:42:19 CEST 2008


On Friday 11 April 2008, Thiago Macieira wrote:

> > Yet GENERIC_LIB_SOVERSION is just set to "4". I miss something,
> > obviously.
> ELF doesn't support that. It should support two numbers: the minimum
> version and the current. That is, kdelibs 4.1 is backwards compatible with
> 4.0; Qt 4.4 is backwards compatible with 4.0 as well (including all
> in-between).

Of course it does support that. It is called symbol versioning. It is quite a 
lot of manual maintenance overhead, and quite difficult to do for C++ 
(because it is hard to predict the mangled name). You'd need a good tool for 
that. I don't know one. 

Greetings,
Dirk


More information about the Kde-buildsystem mailing list