mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-05 05:39:57 -05:00
14732d3f30
The properties added by commit 4a62e3d97c (macOS: Add
OSX_COMPATIBILITY_VERSION and OSX_CURRENT_VERSION properties,
2020-01-24, v3.17.0-rc1~80^2~1) are general-purpose for all platforms
using Mach-O formats and not just on OS X. Rename them accordingly.
The properties are new to the CMake 3.17 release so we can rename
them without compatibility concerns.
Fixes: #20442
15 lines
588 B
ReStructuredText
15 lines
588 B
ReStructuredText
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.
|