diff options
author | Alex Turbov <i.zaufi@gmail.com> | 2019-07-06 00:01:38 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-07-16 11:48:40 (GMT) |
commit | 0ba5891eadbfd533f0ab30c90966bce07e5fbef8 (patch) | |
tree | 392a4016cdd19fe04ce83a7f701c3421450f35f0 /Help/release | |
parent | 5f8466980696cc13653766d6c6255c40a896acb7 (diff) | |
download | CMake-0ba5891eadbfd533f0ab30c90966bce07e5fbef8.zip CMake-0ba5891eadbfd533f0ab30c90966bce07e5fbef8.tar.gz CMake-0ba5891eadbfd533f0ab30c90966bce07e5fbef8.tar.bz2 |
project: Keep leading `0` in PROJECT_VERSION components
Introduce CMake policy `CMP0096` to make `project()` keep leading zeros
in version components. As a side effect, it now allows really long
version numbers.
Fixes: #19421
Co-Author: Brad King <brad.king@kitware.com>
Diffstat (limited to 'Help/release')
-rw-r--r-- | Help/release/dev/project-version-0.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Help/release/dev/project-version-0.rst b/Help/release/dev/project-version-0.rst new file mode 100644 index 0000000..6525522 --- /dev/null +++ b/Help/release/dev/project-version-0.rst @@ -0,0 +1,5 @@ +project-version-0 +----------------- + +* The :command:`project` no longer strips leading zeros in version components. + See policy :policy:`CMP0096`. |