CMakeVS6BackwardCompatibility.cmake 822 B

123456789101112
  1. # hard code these for fast backwards compatibility tests
  2. SET (CMAKE_SIZEOF_INT 4 CACHE INTERNAL "Size of int data type")
  3. SET (CMAKE_SIZEOF_LONG 4 CACHE INTERNAL "Size of long data type")
  4. SET (CMAKE_SIZEOF_VOID_P 4 CACHE INTERNAL "Size of void* data type")
  5. SET (CMAKE_SIZEOF_CHAR 1 CACHE INTERNAL "Size of char data type")
  6. SET (CMAKE_SIZEOF_SHORT 2 CACHE INTERNAL "Size of short data type")
  7. SET (CMAKE_SIZEOF_FLOAT 4 CACHE INTERNAL "Size of float data type")
  8. SET (CMAKE_SIZEOF_DOUBLE 8 CACHE INTERNAL "Size of double data type")
  9. SET (CMAKE_NO_ANSI_FOR_SCOPE 1 CACHE INTERNAL
  10. "Does the compiler support ansi for scope.")
  11. SET (CMAKE_USE_WIN32_THREADS TRUE CACHE BOOL "Use the win32 thread library.")
  12. SET (CMAKE_WORDS_BIGENDIAN 0 CACHE INTERNAL "endianness of bytes")