Files
Naropanth Srikar Rao 06440c35f6 AIX: support VERSION/SOVERSION symlinks for plain shared objects
On AIX, when AIX_SHARED_LIBRARY_ARCHIVE is off, VERSION and SOVERSION
were ignored and only a single `lib<name>.so` was produced.

Add the AIX_SHARED_LIBRARY_SYMLINKS target property, initialized by the
CMAKE_AIX_SHARED_LIBRARY_SYMLINKS variable, to name the shared object
`lib<name>.so.<version>` and create `lib<name>.so.<soversion>` and
`lib<name>.so` symlinks, as on other UNIX platforms.  When the property
is not set, policy CMP0227 selects the default.

AIX shared objects have no builtin soname, so a dependent records the
name of the file used to link it.  Link dependents through the
`lib<name>.so.<soversion>` symlink so they need not be rebuilt for a
compatible update.  If only VERSION is set, link to
`lib<name>.so.<version>`.

Extend the SharedLibraryArchive test to check the file names, symlinks,
and the library name recorded by dependents.
2026-10-29 12:04:33 -04:00
..
…
…