diff options
author | Brad King <brad.king@kitware.com> | 2003-07-08 03:20:30 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2003-07-08 03:20:30 (GMT) |
commit | ed273acfa7884c0b9dddf480deec9a263f536c85 (patch) | |
tree | 2b460ff524f41e032d165ef75e92aaeb6323a9f1 /Source/cmStandardIncludes.h | |
parent | eb7b7dc1046dbc9d60e12a16d2ae3242328f85c0 (diff) | |
download | CMake-ed273acfa7884c0b9dddf480deec9a263f536c85.zip CMake-ed273acfa7884c0b9dddf480deec9a263f536c85.tar.gz CMake-ed273acfa7884c0b9dddf480deec9a263f536c85.tar.bz2 |
ENH: Improved name of cmake version variables. They are now CMake_VERSION (major.minor) and CMake_VERSION_FULL (major.minor.patch).
Diffstat (limited to 'Source/cmStandardIncludes.h')
-rw-r--r-- | Source/cmStandardIncludes.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/cmStandardIncludes.h b/Source/cmStandardIncludes.h index 0b3aef5..98211b6 100644 --- a/Source/cmStandardIncludes.h +++ b/Source/cmStandardIncludes.h @@ -28,7 +28,11 @@ // CMAKE_NO_STD_NAMESPACE, and other macros. #include "cmConfigure.h" -#define CMake_VERSION_STRING \ +#define CMake_VERSION \ + CMAKE_TO_STRING(CMake_VERSION_MAJOR) "." \ + CMAKE_TO_STRING(CMake_VERSION_MINOR) + +#define CMake_VERSION_FULL \ CMAKE_TO_STRING(CMake_VERSION_MAJOR) "." \ CMAKE_TO_STRING(CMake_VERSION_MINOR) "." \ CMAKE_TO_STRING(CMake_VERSION_PATCH) |