summaryrefslogtreecommitdiffstats
path: root/Help/release/dev/cpack-use-project-version.rst
blob: b17754aa6bf43bfe8fd14183010821bd6d0b6ca0 (plain)
1
2
3
4
5
6
7
8
9
10
cpack-use-project-version
-------------------------

* Introduce :variable:`CMAKE_PROJECT_VERSION` and the corresponding components:
  :variable:`CMAKE_PROJECT_VERSION_MAJOR`, :variable:`CMAKE_PROJECT_VERSION_MINOR`,
  :variable:`CMAKE_PROJECT_VERSION_PATCH` and :variable:`CMAKE_PROJECT_VERSION_TWEAK`.

* :module:`CPack` module use :variable:`CMAKE_PROJECT_VERSION_MAJOR`,
  :variable:`CMAKE_PROJECT_VERSION_MINOR` and :variable:`CMAKE_PROJECT_VERSION_PATCH`
  to initialize corresponding CPack variables.