cmVersion.cxx 973 B

123456789101112131415161718192021222324
  1. /*============================================================================
  2. CMake - Cross Platform Makefile Generator
  3. Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
  4. Distributed under the OSI-approved BSD License (the "License");
  5. see accompanying file Copyright.txt for details.
  6. This software is distributed WITHOUT ANY WARRANTY; without even the
  7. implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  8. See the License for more information.
  9. ============================================================================*/
  10. #include "cmVersion.h"
  11. #include "cmVersionMacros.h"
  12. unsigned int cmVersion::GetMajorVersion() { return CMake_VERSION_MAJOR; }
  13. unsigned int cmVersion::GetMinorVersion() { return CMake_VERSION_MINOR; }
  14. unsigned int cmVersion::GetPatchVersion() { return CMake_VERSION_PATCH; }
  15. unsigned int cmVersion::GetTweakVersion() { return 0; }
  16. const char* cmVersion::GetCMakeVersion()
  17. {
  18. return CMake_VERSION;
  19. }