f3fedbabe86b58dbc1d2cd42d7158f72d73dc98b
[platform/upstream/cmake.git] / Help / prop_tgt / MACHO_COMPATIBILITY_VERSION.rst
1 MACHO_COMPATIBILITY_VERSION
2 ---------------------------
3
4 What compatibility version number is this target for Mach-O binaries.
5
6 For shared libraries on Mach-O systems (e.g. macOS, iOS)
7 the ``MACHO_COMPATIBILITY_VERSION`` property correspond to
8 ``compatibility version`` and :prop_tgt:`MACHO_CURRENT_VERSION` to
9 ``current version``.
10 See the :prop_tgt:`FRAMEWORK` target property for an example.
11
12 Versions of Mach-O binaries may be checked with the ``otool -L <binary>``
13 command.  If ``MACHO_COMPATIBILITY_VERSION`` is not set, the value of
14 the :prop_tgt:`SOVERSION` property will be used.