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