summaryrefslogtreecommitdiffstats
path: root/Help/prop_tgt/VERSION_SOVERSION_EXAMPLE.txt
blob: ff2a958a21603d1da4e00e5788037021515e70dd (plain)
1
2
3
4
5
6
7
8
9
A common convention is to specify both ``VERSION`` and ``SOVERSION``
such that ``SOVERSION`` matches the first component of ``VERSION``:

.. code-block:: cmake

  set_target_properties(mylib PROPERTIES VERSION 1.2.3 SOVERSION 1)

The idea is that breaking changes to the ABI increment both the
``SOVERSION`` and the major ``VERSION`` number.