[CMake] Linux shared library suffixes and the soft link that matches

David Cole david.cole at kitware.com
Tue Jul 26 20:20:38 EDT 2011


See target properties:

http://cmake.org/cmake/help/cmake-2-8-docs.html#prop_tgt:VERSION

  and

http://cmake.org/cmake/help/cmake-2-8-docs.html#prop_tgt:SOVERSION


On Tue, Jul 26, 2011 at 7:49 PM,  <david_bjornbak at agilent.com> wrote:
> Is there’s a standard way under CMake to produce Linux shared libraries with
> the numbered suffix and then soft link that references the library with a
> numbered suffix.  For example,  it’s common to have a build a library foo
> with the name  libfoo.so.1.2.3 and then have a soft link named libfoo.so to
> point to it.
>
>
>
> The following is an example of the libz using this configuration.
>
>
>
> lrwxrwxrwx  1 root root    15 Jun 16 11:23 libz.so -> libz.so.1.2.1.2
>
> lrwxrwxrwx  1 root root    15 Jun 16 11:23 libz.so.1 -> libz.so.1.2.1.2
>
> -rwxr-xr-x  1 root root 63624 Jul 12  2005 libz.so.1.2.1.2
>
>
>
>
>
> -dave b.
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>


More information about the CMake mailing list