ENH: make sure CTEST_CURL_OPTIONS work from script mode
[cmake.git] / Source / cmVersion.cxx
blob1f6a272df53dac2bacb863a4b82030ec326c2195
1 /*=========================================================================
3 Program: CMake - Cross-Platform Makefile Generator
4 Module: $RCSfile: cmVersion.cxx,v $
5 Language: C++
6 Date: $Date: 2009-03-05 20:17:06 $
7 Version: $Revision: 1.1029 $
9 Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved.
10 See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details.
12 This software is distributed WITHOUT ANY WARRANTY; without even
13 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 PURPOSE. See the above copyright notices for more information.
16 =========================================================================*/
17 #include "cmVersion.h"
19 #include "cmVersionMacros.h"
21 unsigned int cmVersion::GetMajorVersion() { return CMake_VERSION_MAJOR; }
22 unsigned int cmVersion::GetMinorVersion() { return CMake_VERSION_MINOR; }
23 unsigned int cmVersion::GetPatchVersion() { return CMake_VERSION_PATCH; }
25 const char* cmVersion::GetCMakeVersion()
27 return CMake_VERSION_FULL CMake_VERSION_RC_SUFFIX;