diff options
author | Brad King <brad.king@kitware.com> | 2003-02-14 02:57:05 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2003-02-14 02:57:05 (GMT) |
commit | 1fe42129d43d659f33ed72e63c26e7c9f8cf64d9 (patch) | |
tree | 14e46cb1e8dbb31338cf4fa0ed6f937a218ccb9c /Source/cmMakefile.h | |
parent | 170fe935d2cdcbfd02e4385a3ca5abf3bf4b4192 (diff) | |
download | CMake-1fe42129d43d659f33ed72e63c26e7c9f8cf64d9.zip CMake-1fe42129d43d659f33ed72e63c26e7c9f8cf64d9.tar.gz CMake-1fe42129d43d659f33ed72e63c26e7c9f8cf64d9.tar.bz2 |
ENH: Centralized setting of CMake version number to top-level CMake listfile.
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r-- | Source/cmMakefile.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index e472781..2b7d91f 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -46,9 +46,9 @@ public: /** * Return major and minor version numbers for cmake. */ - static unsigned int GetMajorVersion() { return 1;} - static unsigned int GetMinorVersion() { return 7;} - static const char *GetReleaseVersion() { return "development";} + static unsigned int GetMajorVersion() { return CMake_VERSION_MAJOR; } + static unsigned int GetMinorVersion() { return CMake_VERSION_MINOR; } + static const char* GetReleaseVersion(); /** * Return the major and minor version of the cmake that |