mirror of
https://github.com/reactos/CMake.git
synced 2024-12-04 01:22:28 +00:00
b2f612a0fa
Use the macro now provided by KWSys instead of using `try_compile` checks. It will no longer consider the `__attribute__((fallthrough))` variant, but compilers that don't have one of the modern attributes shouldn't warn about not using one anyway.
33 lines
977 B
C
33 lines
977 B
C
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
|
file Copyright.txt or https://cmake.org/licensing for details. */
|
|
#ifndef cmConfigure_h
|
|
#define cmConfigure_h
|
|
|
|
#include "cmsys/Configure.hxx" // IWYU pragma: export
|
|
|
|
#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_HAVE_CXX_MAKE_UNIQUE
|
|
#define CMAKE_BIN_DIR "/@CMAKE_BIN_DIR@"
|
|
#define CMAKE_DATA_DIR "/@CMAKE_DATA_DIR@"
|
|
|
|
#define CM_FALLTHROUGH cmsys_FALLTHROUGH
|
|
|
|
#define CM_DISABLE_COPY(Class) \
|
|
Class(Class const&) = delete; \
|
|
Class& operator=(Class const&) = delete;
|
|
|
|
#endif
|