diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2002-12-05 13:44:11 -0500 |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2002-12-05 13:44:11 -0500 |
commit | 96189f79d582f90758ba1b4f691031b1d7fa02f3 (patch) | |
tree | 36bc488b7a77d01a9b9be3b1e4b0ab8963378fdc /Modules/CMakeVS6BackwardCompatibility.cmake | |
parent | 8d20322160e6e8c7bf9c6d69de9319f57373de5d (diff) | |
download | cmake-96189f79d582f90758ba1b4f691031b1d7fa02f3.tar.gz |
ENH: unify EnableLanguage across all generators
Diffstat (limited to 'Modules/CMakeVS6BackwardCompatibility.cmake')
-rw-r--r-- | Modules/CMakeVS6BackwardCompatibility.cmake | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Modules/CMakeVS6BackwardCompatibility.cmake b/Modules/CMakeVS6BackwardCompatibility.cmake new file mode 100644 index 0000000000..14900c50e1 --- /dev/null +++ b/Modules/CMakeVS6BackwardCompatibility.cmake @@ -0,0 +1,10 @@ +# hard code these for fast backwards compatibility tests +SET (CMAKE_SIZEOF_INT 4 CACHE INTERNAL "Size of int data type") +SET (CMAKE_SIZEOF_LONG 4 CACHE INTERNAL "Size of long data type") +SET (CMAKE_SIZEOF_VOID_P 4 CACHE INTERNAL "Size of void* data type") +SET (CMAKE_SIZEOF_CHAR 1 CACHE INTERNAL "Size of char data type") +SET (CMAKE_SIZEOF_SHORT 2 CACHE INTERNAL "Size of short data type") +SET (CMAKE_SIZEOF_FLOAT 4 CACHE INTERNAL "Size of float data type") +SET (CMAKE_SIZEOF_DOUBLE 8 CACHE INTERNAL "Size of double data type") +SET (CMAKE_NO_ANSI_FOR_SCOPE 1 CACHE INTERNAL + "Does the compiler support ansi for scope.") |