diff options
author | Craig Scott <craig.scott@crascit.com> | 2018-05-03 21:17:33 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2018-05-03 21:18:38 (GMT) |
commit | 7de29da7c49da68aee421c646a676422f3b9d563 (patch) | |
tree | 558f2d71fa4ca4a208b130bc12773baca2941763 /Help/release | |
parent | f1aedbf99acf21bbe9f2d766be8d159bd397cc89 (diff) | |
parent | af1c48871cedc29eb0dc773556c606c670df55ee (diff) | |
download | CMake-7de29da7c49da68aee421c646a676422f3b9d563.zip CMake-7de29da7c49da68aee421c646a676422f3b9d563.tar.gz CMake-7de29da7c49da68aee421c646a676422f3b9d563.tar.bz2 |
Merge topic 'feature/cpack-default-package-version'
af1c48871c CPack: Use project version as default for `CPACK_PACKAGE_VERSION`
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Harry Mallon <hjmallon@gmail.com>
Merge-request: !2020
Diffstat (limited to 'Help/release')
-rw-r--r-- | Help/release/dev/cpack-use-project-version.rst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Help/release/dev/cpack-use-project-version.rst b/Help/release/dev/cpack-use-project-version.rst new file mode 100644 index 0000000..b17754a --- /dev/null +++ b/Help/release/dev/cpack-use-project-version.rst @@ -0,0 +1,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. |