Files
cmake/Help/release/dev/write-basic-package-version-file-compatibility.rst
T
Daniele E. Domenichelli 9bd3346655 CMakePackageConfigHelpers: add more version compatibility modes
Add `SamePatchVersion`, `SameFullVersion`, and `SemanticVersion`
support.

Document `ExactVersion` as deprecated in favor of the clearer
`SamePatchVersion`/`SameFullVersion` names.

Closes: #18060
2026-05-15 13:51:11 -04:00

11 lines
561 B
ReStructuredText

write-basic-package-version-file-compatibility
----------------------------------------------
* The :module:`CMakePackageConfigHelpers` module's
:command:`write_basic_package_version_file` command now supports
``SamePatchVersion``, ``SameFullVersion``, and ``SemanticVersion``
compatibility modes. The older ``ExactVersion`` mode is now documented as
deprecated in favor of the more explicit ``SamePatchVersion`` and
``SameFullVersion`` modes. The ``SemanticVersion`` mode treats ``0.y.z``
versions more strictly than ``1.y.z`` and later versions.