[Cmake] Shared library versioning (Take II)

Brad King brad . king at kitware . com
Tue, 24 Jun 2003 16:43:27 -0400 (EDT)


Chris,

> ><CMAKE_COMMAND> -E library_symlink <TARGET> <TARGET_VERSION_SUFFIX> <TARGET_SOVERSION_SUFFIX>
>
> Does all of this just change the name on the file, or does it actually
> set a version within the library itself? On Darwin/MacOS X systems,
> libraries are named differently (eg. libfoo.1.5.4.dylib), but those
> versions can be embedded directly into the libraries.

When completed, Gavin's implementation will be integrated into cmake.  It
does use a "-soname" option or whatever the linker wants to encode the
library name into the .so (or .dylib) itself.  That problem has already
been solved.  The discussion to which you refer above is about how to
create the symlinks after the libraries are created.

-Brad