Server IP : 23.254.227.96 / Your IP : 216.73.216.46 Web Server : Apache/2.4.62 (Unix) OpenSSL/1.1.1k System : Linux hwsrv-1277026.hostwindsdns.com 4.18.0-477.13.1.el8_8.x86_64 #1 SMP Tue May 30 14:53:41 EDT 2023 x86_64 User : viralblo ( 1001) PHP Version : 8.1.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/share/cmake/Help/prop_tgt/ |
Upload File : |
MACHO_COMPATIBILITY_VERSION --------------------------- .. versionadded:: 3.17 What compatibility version number is this target for Mach-O binaries. For shared libraries on Mach-O systems (e.g. macOS, iOS) the ``MACHO_COMPATIBILITY_VERSION`` property corresponds to the *compatibility version* and :prop_tgt:`MACHO_CURRENT_VERSION` corresponds to the *current version*. These are both embedded in the shared library binary and can be checked with the ``otool -L <binary>`` command. It should be noted that the :prop_tgt:`MACHO_CURRENT_VERSION` and ``MACHO_COMPATIBILITY_VERSION`` properties do not affect the file names or version-related symlinks that CMake generates for the library. The :prop_tgt:`VERSION` and :prop_tgt:`SOVERSION` target properties still control the file and symlink names. The ``install_name`` is also still controlled by :prop_tgt:`SOVERSION`. When :prop_tgt:`MACHO_CURRENT_VERSION` and ``MACHO_COMPATIBILITY_VERSION`` are not given, :prop_tgt:`VERSION` and :prop_tgt:`SOVERSION` are used for the version details to be embedded in the binaries respectively. The :prop_tgt:`MACHO_CURRENT_VERSION` and ``MACHO_COMPATIBILITY_VERSION`` properties only need to be given if the project needs to decouple the file and symlink naming from the version details embedded in the binaries (e.g. to match libtool conventions).