Back to Cmake

CMAKE_PROJECT_VERSION_PATCH

Help/variable/CMAKE_PROJECT_VERSION_PATCH.rst

4.3.2404 B
Original Source

CMAKE_PROJECT_VERSION_PATCH

.. versionadded:: 3.12

The patch version of the top level project.

This variable holds the patch version of the project as specified in the top level CMakeLists.txt file by a :command:project command. Please see :variable:CMAKE_PROJECT_VERSION documentation for the behavior when multiple :command:project commands are used in the sources.