summaryrefslogtreecommitdiff
path: root/share/cmake-3.6/Modules/Compiler/Intel-C-FeatureTests.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'share/cmake-3.6/Modules/Compiler/Intel-C-FeatureTests.cmake')
-rw-r--r--share/cmake-3.6/Modules/Compiler/Intel-C-FeatureTests.cmake23
1 files changed, 0 insertions, 23 deletions
diff --git a/share/cmake-3.6/Modules/Compiler/Intel-C-FeatureTests.cmake b/share/cmake-3.6/Modules/Compiler/Intel-C-FeatureTests.cmake
deleted file mode 100644
index 34175c8..0000000
--- a/share/cmake-3.6/Modules/Compiler/Intel-C-FeatureTests.cmake
+++ /dev/null
@@ -1,23 +0,0 @@
-# References:
-# - https://software.intel.com/en-us/articles/iso-iec-standards-language-conformance-for-intel-c-compiler
-# - https://software.intel.com/en-us/articles/c99-support-in-intel-c-compiler
-# - https://software.intel.com/en-us/articles/c11-support-in-intel-c-compiler
-
-# FIXME: Intel C feature detection works only when simulating the GNU compiler.
-if("x${CMAKE_C_SIMULATE_ID}" STREQUAL "xMSVC")
- return()
-endif()
-
-set(DETECT_C99 "defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L")
-
-#static assert is only around in version 1500 update 2 and above
-set(_cmake_feature_test_c_static_assert "(__INTEL_COMPILER > 1500 || (__INTEL_COMPILER == 1500 && __INTEL_COMPILER_UPDATE > 1) ) && ${DETECT_C99}")
-
-set(_cmake_oldestSupported "__INTEL_COMPILER >= 1110")
-set(Intel_C99 "${_cmake_oldestSupported} && ${DETECT_C99}")
-set(_cmake_feature_test_c_restrict "${Intel_C99}")
-set(_cmake_feature_test_c_variadic_macros "${Intel_C99}")
-set(_cmake_feature_test_c_function_prototypes "${_cmake_oldestSupported}")
-unset(Intel_C99)
-
-unset(DETECT_C99)