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 /Tests/RunCMake/project/CMP0096-OLD-stdout.txt | |
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 'Tests/RunCMake/project/CMP0096-OLD-stdout.txt')
-rw-r--r-- | Tests/RunCMake/project/CMP0096-OLD-stdout.txt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Tests/RunCMake/project/CMP0096-OLD-stdout.txt b/Tests/RunCMake/project/CMP0096-OLD-stdout.txt new file mode 100644 index 0000000..6a945ce --- /dev/null +++ b/Tests/RunCMake/project/CMP0096-OLD-stdout.txt @@ -0,0 +1,20 @@ +-- PROJECT_VERSION='2019.7.6' +-- DateVersion_VERSION='2019.7.6' +-- PROJECT_VERSION_MAJOR='2019' +-- DateVersion_VERSION_MAJOR='2019' +-- PROJECT_VERSION_MINOR='7' +-- DateVersion_VERSION_MINOR='7' +-- PROJECT_VERSION_PATCH='6' +-- DateVersion_VERSION_PATCH='6' +-- PROJECT_VERSION_TWEAK='' +-- DateVersion_VERSION_TWEAK='' +-- PROJECT_VERSION='(1|4294967295)' +-- LongVersion_VERSION='(1|4294967295)' +-- PROJECT_VERSION_MAJOR='(1|4294967295)' +-- LongVersion_VERSION_MAJOR='(1|4294967295)' +-- PROJECT_VERSION_MINOR='' +-- LongVersion_VERSION_MINOR='' +-- PROJECT_VERSION_PATCH='' +-- LongVersion_VERSION_PATCH='' +-- PROJECT_VERSION_TWEAK='' +-- LongVersion_VERSION_TWEAK='' |