diff options
author | Brad King <brad.king@kitware.com> | 2007-12-29 04:07:14 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-12-29 04:07:14 (GMT) |
commit | f872c10b7ee3fe675e7a2066c20c7a749efd8238 (patch) | |
tree | aa6934ecef4eb491977fc8b3fafeede0984a954d /Source/cmStandardIncludes.h | |
parent | 2da186266e3d46e9a3e9f0eebb106fe507cb5df5 (diff) | |
download | CMake-f872c10b7ee3fe675e7a2066c20c7a749efd8238.zip CMake-f872c10b7ee3fe675e7a2066c20c7a749efd8238.tar.gz CMake-f872c10b7ee3fe675e7a2066c20c7a749efd8238.tar.bz2 |
ENH: Added method cmLocalGenerator::GetBackwardsCompatibility to reduce parsing of CMAKE_BACKWARDS_COMPATIBILITY variable. Add cmLocalGenerator::NeedBackwardsCompatibility to simplify checks for compatibility requirements.
Diffstat (limited to 'Source/cmStandardIncludes.h')
-rw-r--r-- | Source/cmStandardIncludes.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmStandardIncludes.h b/Source/cmStandardIncludes.h index 4ba86ce..5b0ccfb 100644 --- a/Source/cmStandardIncludes.h +++ b/Source/cmStandardIncludes.h @@ -38,6 +38,9 @@ CMAKE_TO_STRING(CMake_VERSION_MINOR) "." \ CMAKE_TO_STRING(CMake_VERSION_PATCH) +#define CMake_VERSION_ENCODE(major, minor, patch) \ + ((major)*0x10000u + (minor)*0x100u + (patch)) + #ifdef _MSC_VER #pragma warning ( disable : 4786 ) #pragma warning ( disable : 4503 ) |