summaryrefslogtreecommitdiff
path: root/share/cmake-3.17/Help/prop_tgt/MACHO_CURRENT_VERSION.rst
diff options
context:
space:
mode:
Diffstat (limited to 'share/cmake-3.17/Help/prop_tgt/MACHO_CURRENT_VERSION.rst')
-rw-r--r--share/cmake-3.17/Help/prop_tgt/MACHO_CURRENT_VERSION.rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/share/cmake-3.17/Help/prop_tgt/MACHO_CURRENT_VERSION.rst b/share/cmake-3.17/Help/prop_tgt/MACHO_CURRENT_VERSION.rst
new file mode 100644
index 0000000..4a1d3f0
--- /dev/null
+++ b/share/cmake-3.17/Help/prop_tgt/MACHO_CURRENT_VERSION.rst
@@ -0,0 +1,13 @@
+MACHO_CURRENT_VERSION
+---------------------
+
+What current version number is this target for Mach-O binaries.
+
+For shared libraries on Mach-O systems (e.g. macOS, iOS)
+the :prop_tgt:`MACHO_COMPATIBILITY_VERSION` property correspond to
+``compatibility version`` and ``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_CURRENT_VERSION`` is not set, the value of
+the :prop_tgt:`VERSION` property will be used.