summaryrefslogtreecommitdiffstats
path: root/Help/prop_tgt/VERSION.rst
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-03-31 16:43:31 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-03-31 16:43:41 (GMT)
commit7d3bef7b7caf915d545f3a5ec881471772b7f7f3 (patch)
tree1fd7437943883707a00747fc54620f0825422143 /Help/prop_tgt/VERSION.rst
parent529d7291b40e8b4c09e3952d6992cafcee979f8c (diff)
parent01b47293eae07b175a005409e741facd92227c12 (diff)
downloadCMake-7d3bef7b7caf915d545f3a5ec881471772b7f7f3.zip
CMake-7d3bef7b7caf915d545f3a5ec881471772b7f7f3.tar.gz
CMake-7d3bef7b7caf915d545f3a5ec881471772b7f7f3.tar.bz2
Merge topic 'docs_macho_prop_tgt'
01b47293ea Help: Fix inaccuracies and omissions in MACHO_* property docs Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Isuru Fernando <isuruf@gmail.com> Merge-request: !4542
Diffstat (limited to 'Help/prop_tgt/VERSION.rst')
-rw-r--r--Help/prop_tgt/VERSION.rst20
1 files changed, 14 insertions, 6 deletions
diff --git a/Help/prop_tgt/VERSION.rst b/Help/prop_tgt/VERSION.rst
index f592f4a..95db483 100644
--- a/Help/prop_tgt/VERSION.rst
+++ b/Help/prop_tgt/VERSION.rst
@@ -23,9 +23,17 @@ Mach-O Versions
^^^^^^^^^^^^^^^
For shared libraries and executables on Mach-O systems (e.g. macOS, iOS),
-the ``VERSION`` property is a fallback to :prop_tgt:`MACHO_CURRENT_VERSION`
-property which corresponds to *current version* and :prop_tgt:`SOVERSION`
-is a fallback to :prop_tgt:`MACHO_COMPATIBILITY_VERSION` which corresponds
-to *compatiblity 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.
+the :prop_tgt:`SOVERSION` property corresponds to the *compatibility version*
+and ``VERSION`` corresponds to the *current version* (unless Mach-O specific
+overrides are provided, as discussed below).
+See the :prop_tgt:`FRAMEWORK` target property for an example.
+
+For shared libraries, the :prop_tgt:`MACHO_COMPATIBILITY_VERSION` and
+:prop_tgt:`MACHO_CURRENT_VERSION` properties can be used to
+override the *compatibility version* and *current version* respectively.
+Note that :prop_tgt:`SOVERSION` will still be used to form the
+``install_name`` and both :prop_tgt:`SOVERSION` and ``VERSION`` may also
+affect the file and symlink names.
+
+Versions of Mach-O binaries may be checked with the ``otool -L <binary>``
+command.