AIX_SHARED_LIBRARY_ARCHIVEΒΆ

New in version 3.31.

On AIX, enable creation of a shared library archive. This places the shared object .so file inside an archive .a file.

By default, CMake creates shared libraries on AIX as plain shared object .so files for consistency with other UNIX platforms. Alternatively, set this property to a true value to create a shared library archive instead, as is AIX convention.

When a shared library is archived the shared object in the archive does not record any version information from VERSION or :prop_tgt`SOVERSION` target properties.

This property defaults to CMAKE_AIX_SHARED_LIBRARY_ARCHIVE if that variable is set when a SHARED library target is created by add_library().