mirror of
https://github.com/reactos/CMake.git
synced 2024-12-14 15:19:39 +00:00
c3819acad2
At the moment, cmStandardIncludes.h needs to be included before any standard includes because it disables some warnings that are caused by the standard library of some compilers. Move this responsibility to the cmConfigure.h file. Also add include guards to cmConfigure.h to make sure the file can be included multiple times.
37 lines
1.1 KiB
C
37 lines
1.1 KiB
C
/*============================================================================
|
|
CMake - Cross Platform Makefile Generator
|
|
Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
|
|
|
|
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.
|
|
============================================================================*/
|
|
#ifndef cmConfigure_h
|
|
#define cmConfigure_h
|
|
|
|
#include <cmsys/Configure.hxx>
|
|
|
|
#ifdef _MSC_VER
|
|
#pragma warning(disable : 4786)
|
|
#pragma warning(disable : 4503)
|
|
#endif
|
|
|
|
#ifdef __ICL
|
|
#pragma warning(disable : 985)
|
|
#pragma warning(disable : 1572) /* floating-point equality test */
|
|
#endif
|
|
|
|
#cmakedefine HAVE_ENVIRON_NOT_REQUIRE_PROTOTYPE
|
|
#cmakedefine HAVE_UNSETENV
|
|
#cmakedefine CMAKE_USE_ELF_PARSER
|
|
#cmakedefine CMAKE_USE_MACH_PARSER
|
|
#cmakedefine CMAKE_ENCODING_UTF8
|
|
#cmakedefine CMake_HAVE_CXX11_UNORDERED_MAP
|
|
#define CMAKE_BIN_DIR "/@CMAKE_BIN_DIR@"
|
|
#define CMAKE_DATA_DIR "/@CMAKE_DATA_DIR@"
|
|
|
|
#endif
|