• Brad King's avatar
    project: Manage VERSION variables · 7e142c5a
    Brad King authored
    Teach the project() command to set variables
    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: Alexander Neundorf's avatarAlex Neundorf <neundorf@kde.org>
RunCMakeTest.cmake 407 Bytes