https://github.com/Kitware/CMake
Revision 661622f011810093433afa5c9a4795b3d2f19070 authored by Brad King on 24 December 2014, 11:38:24 UTC, committed by CMake Topic Stage on 24 December 2014, 11:38:24 UTC
07fc7b75 Tests: Test using objects from a language enabled in a subdirectory (#15325)
fdbfcfdf Ninja: Generate rules only for languages compiled in a target (#15325)

2 parent s c20d3d3 + 07fc7b7
Raw File
Tip revision: 661622f011810093433afa5c9a4795b3d2f19070 authored by Brad King on 24 December 2014, 11:38:24 UTC
Merge topic 'ninja-fix-subdir-objlib-languages'
Tip revision: 661622f
CMakeVS6BackwardCompatibility.cmake

#=============================================================================
# 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 1 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")
back to top