KDE/kdelibs/cmake/modules
Alexander Neundorf
neundorf at kde.org
Mon Mar 20 17:38:10 GMT 2006
On Monday 20 March 2006 18:19, Thiago Macieira wrote:
> Alexander Neundorf wrote:
> >set_target_properties(kdecore PROPERTIES VERSION 5.0.0 SOVERSION 5 ) ?
>
> What happens if you call:
> set_target_properties(kdecore PROPERTIES VERSION 5.0.0 SOVERSION 10 )
> ?
>
> Does it generate
> libkdecore.so.10
> libkdecore.so.5.0.0?
>
> Or does it generate
> libkdecore-5.0.0.so
> libkdecore.so.10?
~/src/tests/solib$ cat CMakeLists.txt
add_library(sotest SHARED test.c)
set_target_properties(sotest PROPERTIES VERSION 5.2.1 SOVERSION 10 )
install_targets(/lib sotest)
~/src/tests/solib$ cd /usr/local/lib
/usr/local/lib$ ls -al|grep sotest
lrwxrwxrwx 1 root root 15 Mar 20 18:35 libsotest.so ->
libsotest.so.10
lrwxrwxrwx 1 root root 18 Mar 20 18:35 libsotest.so.10 ->
libsotest.so.5.2.1
-rw-r--r-- 1 root root 5470 Mar 20 18:35 libsotest.so.5.2.1
Bye
Alex
--
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org - http://www.kde.org
alex AT neundorf.net - http://www.neundorf.net
More information about the kde-core-devel
mailing list