2005-12-14 21:51:08 +03:00
|
|
|
|
2009-10-02 01:21:28 +04:00
|
|
|
#=============================================================================
|
|
|
|
# Copyright 2002-2009 Kitware, Inc.
|
|
|
|
#
|
|
|
|
# Distributed under the OSI-approved BSD License (the "License");
|
|
|
|
# see accompanying file Copyright.txt for details.
|
|
|
|
#
|
|
|
|
# This software is distributed WITHOUT ANY WARRANTY; without even the
|
|
|
|
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
# See the License for more information.
|
|
|
|
#=============================================================================
|
|
|
|
# (To distributed this file outside of CMake, substitute the full
|
|
|
|
# License text for the above reference.)
|
|
|
|
|
2002-12-05 21:44:11 +03:00
|
|
|
# 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.")
|
2002-12-09 16:27:52 +03:00
|
|
|
SET (CMAKE_USE_WIN32_THREADS TRUE CACHE BOOL "Use the win32 thread library.")
|
2003-01-09 16:50:00 +03:00
|
|
|
SET (CMAKE_WORDS_BIGENDIAN 0 CACHE INTERNAL "endianness of bytes")
|