4 What version number is this target.
6 For shared libraries ``VERSION`` and :prop_tgt:`SOVERSION` can be used
7 to specify the build version and API version respectively. When building or
8 installing appropriate symlinks are created if the platform supports
9 symlinks and the linker supports so-names. If only one of both is
10 specified the missing is assumed to have the same version number. For
11 executables ``VERSION`` can be used to specify the build version. When
12 building or installing appropriate symlinks are created if the
13 platform supports symlinks.
18 For shared libraries and executables on Windows the ``VERSION``
19 attribute is parsed to extract a ``<major>.<minor>`` version number.
20 These numbers are used as the image version of the binary.
25 For shared libraries and executables on Mach-O systems (e.g. macOS, iOS),
26 the ``VERSION`` property is a fallback to :prop_tgt:`MACHO_CURRENT_VERSION`
27 property which corresponds to *current version* and :prop_tgt:`SOVERSION`
28 is a fallback to :prop_tgt:`MACHO_COMPATIBILITY_VERSION` which corresponds
29 to *compatiblity version*. See the :prop_tgt:`FRAMEWORK` target
30 property for an example. Versions of Mach-O binaries may be checked with the
31 ``otool -L <binary>`` command.