summaryrefslogtreecommitdiffstats
path: root/Help/variable/PROJECT_COMPAT_VERSION.rst
blob: cab800ce7bf7f5f2108d04912cc471c4128da62a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
PROJECT_COMPAT_VERSION
----------------------

.. versionadded:: 4.1

.. note::

  Experimental. Gated by ``CMAKE_EXPERIMENTAL_EXPORT_PACKAGE_INFO``.

Value given to the ``COMPAT_VERSION`` option of the most recent call to the
:command:`project` command, if any. To obtain the compatibility version of the
top level project, see the :variable:`CMAKE_PROJECT_COMPAT_VERSION` variable.