mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-04 12:49:36 -06:00
* Introduce `CMAKE_PROJECT_VERSION` and the corresponsing components: `CMAKE_PROJECT_VERSION_MAJOR`, `CMAKE_PROJECT_VERSION_MINOR`, `CMAKE_PROJECT_VERSION_PATCH` and `CMAKE_PROJECT_VERSION_TWEAK`. * `CPack` module use `CMAKE_PROJECT_VERSION_MAJOR`, `CMAKE_PROJECT_VERSION_MINOR` and `CMAKE_PROJECT_VERSION_PATCH` to initialize corresponsing CPack variables.
10 lines
381 B
ReStructuredText
10 lines
381 B
ReStructuredText
CMAKE_PROJECT_VERSION_PATCH
|
|
---------------------------
|
|
|
|
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.
|