Age | Commit message (Collapse) | Author |
|
Reviewers: #frameworks, #build_system, apol
Reviewed By: apol
Tags: #frameworks, #build_system
Differential Revision: https://phabricator.kde.org/D5867
|
|
Triggered my OCD
|
|
When CMake policy CMP0048 (CMake 3.0) is set to NEW, the project()
command is meant to manage the project's version variables. We therefore
do not set the PROJECT_VERSION variables in this case.
To make sure projects do not have to specify their version in multiple
places, this also allows the keyword "PROJECT" to be passed to
ecm_setup_version instead of an actual version number. In this case, the
version passed to project() will be used.
REVIEW: 117619
|
|
version
This is all internal, doesn't change the API or effects of ecm_setup_version.
|
|
My addition of major/minor/patch included a copy/paste error (double-quotes)
and the all-in-one version number (like QT_VERSION and KDE_VERSION) was
missing, added now.
|
|
(and for plugin-loading version number handling)
|
|
|