mirror of
https://github.com/reactos/CMake.git
synced 2024-11-29 06:20:23 +00:00
7e142c5ac2
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> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
CMP0048-NEW-stderr.txt | ||
CMP0048-NEW-stdout.txt | ||
CMP0048-NEW.cmake | ||
CMP0048-OLD-stdout.txt | ||
CMP0048-OLD-VERSION-result.txt | ||
CMP0048-OLD-VERSION-stderr.txt | ||
CMP0048-OLD-VERSION.cmake | ||
CMP0048-OLD.cmake | ||
CMP0048-WARN-stderr.txt | ||
CMP0048-WARN.cmake | ||
LanguagesEmpty-stdout.txt | ||
LanguagesEmpty.cmake | ||
LanguagesImplicit-stdout.txt | ||
LanguagesImplicit.cmake | ||
LanguagesNONE-stdout.txt | ||
LanguagesNONE.cmake | ||
LanguagesTwice-result.txt | ||
LanguagesTwice-stderr.txt | ||
LanguagesTwice.cmake | ||
RunCMakeTest.cmake | ||
VersionAndLanguagesEmpty-stdout.txt | ||
VersionAndLanguagesEmpty.cmake | ||
VersionEmpty-stdout.txt | ||
VersionEmpty.cmake | ||
VersionInvalid-result.txt | ||
VersionInvalid-stderr.txt | ||
VersionInvalid.cmake | ||
VersionMissingLanguages-result.txt | ||
VersionMissingLanguages-stderr.txt | ||
VersionMissingLanguages.cmake | ||
VersionMissingValueOkay-stdout.txt | ||
VersionMissingValueOkay.cmake | ||
VersionTwice-result.txt | ||
VersionTwice-stderr.txt | ||
VersionTwice.cmake |