How to use PROPERTIES VERSION and SOVERSION?
Friedrich W. H. Kossebau
kossebau at kde.org
Fri Apr 11 14:29:58 CEST 2008
Am Freitag, 11. April 2008, um 13:44 Uhr, schrieb Thiago Macieira:
> On Friday 11 April 2008 13:28:07 Andreas Pakulat wrote:
> > > What leaves me puzzled is that with cmake 2.4.7 for
> > > set_target_properties( mylibname PROPERTIES VERSION 6.1 SOVERSION 5 )
> > > I get
> > > libmylibname.so -> libmylibname.so.5*
> > > /home/koder/System/kde-devel/lib/libmylibname.so.5 ->
> > > libmylibname.so.6.1*
> > > /home/koder/System/kde-devel/lib/libmylibname.so.6.1*
> > > Is this really what one wants?
> >
> > Well, depends. If your working on version 6.1 of your libary, but you
> > changed the binary interface only 5 times until now it makes perfect
> > sense. That said it is a quite unusual pattern I think.
>
> The glibc style would be more appropriate here:
>
> $ ls -l /lib/libc*so*
> -rwxr-xr-x 1 root root 1319092 2008-03-10 08:10 /lib/libc-2.7.so*
> lrwxrwxrwx 1 root root 11 2008-03-12 13:30 /lib/libc.so.6 ->
> libc-2.7.so*
Yes, quite less confusing.
So no /lib/libc.so ? Why does our buildsystem/CMake create such symlinks,
then?
Friedrich
More information about the Kde-buildsystem
mailing list