cmVersion.cxx 558 B

123456789101112131415161718192021222324252627
  1. /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
  2. file Copyright.txt or https://cmake.org/licensing for details. */
  3. #include "cmVersion.h"
  4. #include "cmVersionConfig.h"
  5. unsigned int cmVersion::GetMajorVersion()
  6. {
  7. return CMake_VERSION_MAJOR;
  8. }
  9. unsigned int cmVersion::GetMinorVersion()
  10. {
  11. return CMake_VERSION_MINOR;
  12. }
  13. unsigned int cmVersion::GetPatchVersion()
  14. {
  15. return CMake_VERSION_PATCH;
  16. }
  17. unsigned int cmVersion::GetTweakVersion()
  18. {
  19. return 0;
  20. }
  21. const char* cmVersion::GetCMakeVersion()
  22. {
  23. return CMake_VERSION;
  24. }