summaryrefslogtreecommitdiff
path: root/share/cmake-3.2/Modules/CMakeVS7BackwardCompatibility.cmake
diff options
context:
space:
mode:
authorVince Harron <vharron@google.com>2015-06-02 18:37:41 -0700
committerVince Harron <vharron@google.com>2015-06-02 18:37:41 -0700
commit091caafda44f7fe52a94387b2eafcf204ea909d3 (patch)
tree78f18486962eca24c3a8fa7a2002a5d5a0ca459c /share/cmake-3.2/Modules/CMakeVS7BackwardCompatibility.cmake
parent1897a4b42df33a98f1c89c929c5ce953f7848df7 (diff)
downloadlinux-x86-091caafda44f7fe52a94387b2eafcf204ea909d3.tar.gz
Diffstat (limited to 'share/cmake-3.2/Modules/CMakeVS7BackwardCompatibility.cmake')
-rw-r--r--share/cmake-3.2/Modules/CMakeVS7BackwardCompatibility.cmake26
1 files changed, 26 insertions, 0 deletions
diff --git a/share/cmake-3.2/Modules/CMakeVS7BackwardCompatibility.cmake b/share/cmake-3.2/Modules/CMakeVS7BackwardCompatibility.cmake
new file mode 100644
index 0000000..e9622ee
--- /dev/null
+++ b/share/cmake-3.2/Modules/CMakeVS7BackwardCompatibility.cmake
@@ -0,0 +1,26 @@
+
+#=============================================================================
+# 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 distribute this file outside of CMake, substitute the full
+# License text for the above reference.)
+
+# 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 0 CACHE INTERNAL
+ "Does the compiler support ansi for scope.")
+set (CMAKE_USE_WIN32_THREADS TRUE CACHE BOOL "Use the win32 thread library.")
+set (CMAKE_WORDS_BIGENDIAN 0 CACHE INTERNAL "endianness of bytes")