summaryrefslogtreecommitdiff
path: root/Source/cmConfigure.cmake.h.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-03-05 15:17:07 -0500
committerBrad King <brad.king@kitware.com>2009-03-05 15:17:07 -0500
commit98c51ff6dcd5e6aa80050cfc00f19eb6092e79c0 (patch)
tree8aabdbd5936493a3808cf1184620ebf08ef1d8ff /Source/cmConfigure.cmake.h.in
parent83f39ba41b2c8969db2b44761d5fed363dc170b5 (diff)
downloadcmake-98c51ff6dcd5e6aa80050cfc00f19eb6092e79c0.tar.gz
ENH: Overhaul CMake version numbering
This moves the version numbers into an isolated configured header so that not all of CMake needs to rebuild when the version changes. Previously we had spaces, dashes and/or the word 'patch' randomly chosen before the patch number. Now we always report version numbers in the traditional format "<major>.<minor>.<patch>[-rc<rc>]". We still use odd minor numbers for development versions. Now we also use the CCYYMMDD date as the patch number of development versions, thus allowing tests for exact CMake versions.
Diffstat (limited to 'Source/cmConfigure.cmake.h.in')
-rw-r--r--Source/cmConfigure.cmake.h.in5
1 files changed, 0 insertions, 5 deletions
diff --git a/Source/cmConfigure.cmake.h.in b/Source/cmConfigure.cmake.h.in
index ba4a6c9da7..b4d89ff4fe 100644
--- a/Source/cmConfigure.cmake.h.in
+++ b/Source/cmConfigure.cmake.h.in
@@ -24,9 +24,4 @@
#cmakedefine CMAKE_STRICT
#define CMAKE_ROOT_DIR "${CMake_SOURCE_DIR}"
#define CMAKE_BUILD_DIR "${CMake_BINARY_DIR}"
-
-#define CMake_VERSION_MAJOR @CMake_VERSION_MAJOR@
-#define CMake_VERSION_MINOR @CMake_VERSION_MINOR@
-#define CMake_VERSION_PATCH @CMake_VERSION_PATCH@
-#cmakedefine CMake_VERSION_RC @CMake_VERSION_RC@
#define CMAKE_DATA_DIR "@CMAKE_DATA_DIR@"