https://github.com/Kitware/CMake
Raw File
Tip revision: 753373579e3dd8cf19f0fc18f4d9bec43a2d82e8 authored by Brad King on 27 June 2019, 11:35:14 UTC
CMake 3.15.0-rc3
Tip revision: 7533735
SunPro-C-FeatureTests.cmake
set(_cmake_oldestSupported "__SUNPRO_C >= 0x5130")

set(SunPro_C11 "${_cmake_oldestSupported} && defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L || __STDC_VERSION__ >= 199901L && defined(__C11FEATURES__))")
set(_cmake_feature_test_c_static_assert "${SunPro_C11}")
unset(SunPro_C11)

set(SunPro_C99 "${_cmake_oldestSupported} && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L")
set(_cmake_feature_test_c_restrict "${SunPro_C99}")
set(_cmake_feature_test_c_variadic_macros "${SunPro_C99}")
unset(SunPro_C99)

set(SunPro_C90 "${_cmake_oldestSupported}")
set(_cmake_feature_test_c_function_prototypes "${SunPro_C90}")
unset(SunPro_C90)
back to top