CMake/Tests/RunCMake/project
Brad King 7e142c5ac2 project: Manage VERSION variables
Teach the project() command to set variables

  {PROJECT,<PROJECT-NAME>}_VERSION{,_MAJOR,_MINOR,_PATCH,_TWEAK}

holding the project version number and its components.  Add project()
command option "VERSION" to specify the version explicitly, and default
to the empty string when it is not given.

Since this clears variables when no VERSION is given, this may change
behavior for existing projects that set the version variables themselves
prior to calling project().  Add policy CMP0048 for compatibility.

Suggested-by: Alex Neundorf <neundorf@kde.org>
2014-01-29 09:45:18 -05:00
..
CMP0048-NEW-stderr.txt project: Manage VERSION variables 2014-01-29 09:45:18 -05:00
CMP0048-NEW-stdout.txt project: Manage VERSION variables 2014-01-29 09:45:18 -05:00
CMP0048-NEW.cmake project: Manage VERSION variables 2014-01-29 09:45:18 -05:00
CMP0048-OLD-VERSION-result.txt project: Manage VERSION variables 2014-01-29 09:45:18 -05:00
CMP0048-OLD-VERSION-stderr.txt project: Manage VERSION variables 2014-01-29 09:45:18 -05:00
CMP0048-OLD-VERSION.cmake project: Manage VERSION variables 2014-01-29 09:45:18 -05:00
CMP0048-OLD-stdout.txt project: Manage VERSION variables 2014-01-29 09:45:18 -05:00
CMP0048-OLD.cmake project: Manage VERSION variables 2014-01-29 09:45:18 -05:00
CMP0048-WARN-stderr.txt project: Manage VERSION variables 2014-01-29 09:45:18 -05:00
CMP0048-WARN.cmake project: Manage VERSION variables 2014-01-29 09:45:18 -05:00
CMakeLists.txt project: Add optional LANGUAGES keyword 2014-01-29 09:40:51 -05:00
LanguagesEmpty-stdout.txt project: Add optional LANGUAGES keyword 2014-01-29 09:40:51 -05:00
LanguagesEmpty.cmake project: Add optional LANGUAGES keyword 2014-01-29 09:40:51 -05:00
LanguagesImplicit-stdout.txt project: Add optional LANGUAGES keyword 2014-01-29 09:40:51 -05:00
LanguagesImplicit.cmake project: Add optional LANGUAGES keyword 2014-01-29 09:40:51 -05:00
LanguagesNONE-stdout.txt project: Add optional LANGUAGES keyword 2014-01-29 09:40:51 -05:00
LanguagesNONE.cmake project: Add optional LANGUAGES keyword 2014-01-29 09:40:51 -05:00
LanguagesTwice-result.txt project: Add optional LANGUAGES keyword 2014-01-29 09:40:51 -05:00
LanguagesTwice-stderr.txt project: Add optional LANGUAGES keyword 2014-01-29 09:40:51 -05:00
LanguagesTwice.cmake project: Add optional LANGUAGES keyword 2014-01-29 09:40:51 -05:00
RunCMakeTest.cmake project: Manage VERSION variables 2014-01-29 09:45:18 -05:00
VersionAndLanguagesEmpty-stdout.txt project: Manage VERSION variables 2014-01-29 09:45:18 -05:00
VersionAndLanguagesEmpty.cmake project: Manage VERSION variables 2014-01-29 09:45:18 -05:00
VersionEmpty-stdout.txt project: Manage VERSION variables 2014-01-29 09:45:18 -05:00
VersionEmpty.cmake project: Manage VERSION variables 2014-01-29 09:45:18 -05:00
VersionInvalid-result.txt project: Manage VERSION variables 2014-01-29 09:45:18 -05:00
VersionInvalid-stderr.txt project: Manage VERSION variables 2014-01-29 09:45:18 -05:00
VersionInvalid.cmake project: Manage VERSION variables 2014-01-29 09:45:18 -05:00
VersionMissingLanguages-result.txt project: Manage VERSION variables 2014-01-29 09:45:18 -05:00
VersionMissingLanguages-stderr.txt project: Manage VERSION variables 2014-01-29 09:45:18 -05:00
VersionMissingLanguages.cmake project: Manage VERSION variables 2014-01-29 09:45:18 -05:00
VersionMissingValueOkay-stdout.txt project: Manage VERSION variables 2014-01-29 09:45:18 -05:00
VersionMissingValueOkay.cmake project: Manage VERSION variables 2014-01-29 09:45:18 -05:00
VersionTwice-result.txt project: Manage VERSION variables 2014-01-29 09:45:18 -05:00
VersionTwice-stderr.txt project: Manage VERSION variables 2014-01-29 09:45:18 -05:00
VersionTwice.cmake project: Manage VERSION variables 2014-01-29 09:45:18 -05:00