summaryrefslogtreecommitdiff
path: root/Help/prop_tgt/MACHO_COMPATIBILITY_VERSION.rst
blob: f3fedbabe86b58dbc1d2cd42d7158f72d73dc98b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
MACHO_COMPATIBILITY_VERSION
---------------------------

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 correspond to
``compatibility version`` and :prop_tgt:`MACHO_CURRENT_VERSION` to
``current version``.
See the :prop_tgt:`FRAMEWORK` target property for an example.

Versions of Mach-O binaries may be checked with the ``otool -L <binary>``
command.  If ``MACHO_COMPATIBILITY_VERSION`` is not set, the value of
the :prop_tgt:`SOVERSION` property will be used.