Files
CMake/Help/variable/PROJECT_COMPAT_VERSION.rst
Matthew Woehlke a0cfaaf2dc Help: Note when <project>_COMPAT_VERSION were added
Tweak documentation of project `_COMPAT_VERSION` variables to note when
they were added. Note that, while these are "experimental" for  now,
they are always set; the experimental gate is only required for them to
be set to non-empty values (and since they are optional, they may be
empty regardless).
2025-06-11 11:08:28 -04:00

13 lines
384 B
ReStructuredText

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.